@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,96 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CreateNamespaceRequest, CreateNamespaceResponse } 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 CreateNamespaceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateNamespaceCommandInput extends CreateNamespaceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateNamespaceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateNamespaceCommandOutput extends CreateNamespaceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateNamespaceCommand_base: {
|
|
25
|
+
new (input: CreateNamespaceCommandInput): import("@smithy/smithy-client").CommandImpl<CreateNamespaceCommandInput, CreateNamespaceCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: CreateNamespaceCommandInput): import("@smithy/smithy-client").CommandImpl<CreateNamespaceCommandInput, CreateNamespaceCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates a namespace. A namespace is a logical grouping of tables within your table bucket, which you can use to organize tables. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-namespace.html">Table namespaces</a>. </p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { S3TablesClient, CreateNamespaceCommand } from "@aws-sdk/client-s3tables"; // ES Modules import
|
|
35
|
+
* // const { S3TablesClient, CreateNamespaceCommand } = require("@aws-sdk/client-s3tables"); // CommonJS import
|
|
36
|
+
* const client = new S3TablesClient(config);
|
|
37
|
+
* const input = { // CreateNamespaceRequest
|
|
38
|
+
* tableBucketARN: "STRING_VALUE", // required
|
|
39
|
+
* namespace: [ // NamespaceList // required
|
|
40
|
+
* "STRING_VALUE",
|
|
41
|
+
* ],
|
|
42
|
+
* };
|
|
43
|
+
* const command = new CreateNamespaceCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // CreateNamespaceResponse
|
|
46
|
+
* // tableBucketARN: "STRING_VALUE", // required
|
|
47
|
+
* // namespace: [ // NamespaceList // required
|
|
48
|
+
* // "STRING_VALUE",
|
|
49
|
+
* // ],
|
|
50
|
+
* // };
|
|
51
|
+
*
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* @param CreateNamespaceCommandInput - {@link CreateNamespaceCommandInput}
|
|
55
|
+
* @returns {@link CreateNamespaceCommandOutput}
|
|
56
|
+
* @see {@link CreateNamespaceCommandInput} for command's `input` shape.
|
|
57
|
+
* @see {@link CreateNamespaceCommandOutput} for command's `response` shape.
|
|
58
|
+
* @see {@link S3TablesClientResolvedConfig | config} for S3TablesClient's `config` shape.
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link BadRequestException} (client fault)
|
|
61
|
+
* <p>The request is invalid or malformed.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ConflictException} (client fault)
|
|
64
|
+
* <p>The request failed because there is a conflict with a previous write. You can retry the
|
|
65
|
+
* request.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
68
|
+
* <p>The caller isn't authorized to make the request.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
71
|
+
* <p>The request failed due to an internal server error.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link NotFoundException} (client fault)
|
|
74
|
+
* <p>The request was rejected because the specified resource could not be found.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
77
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link S3TablesServiceException}
|
|
80
|
+
* <p>Base exception class for all service exceptions from S3Tables service.</p>
|
|
81
|
+
*
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
export declare class CreateNamespaceCommand extends CreateNamespaceCommand_base {
|
|
85
|
+
/** @internal type navigation helper, not in runtime. */
|
|
86
|
+
protected static __types: {
|
|
87
|
+
api: {
|
|
88
|
+
input: CreateNamespaceRequest;
|
|
89
|
+
output: CreateNamespaceResponse;
|
|
90
|
+
};
|
|
91
|
+
sdk: {
|
|
92
|
+
input: CreateNamespaceCommandInput;
|
|
93
|
+
output: CreateNamespaceCommandOutput;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CreateTableBucketRequest, CreateTableBucketResponse } 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 CreateTableBucketCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateTableBucketCommandInput extends CreateTableBucketRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateTableBucketCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateTableBucketCommandOutput extends CreateTableBucketResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateTableBucketCommand_base: {
|
|
25
|
+
new (input: CreateTableBucketCommandInput): import("@smithy/smithy-client").CommandImpl<CreateTableBucketCommandInput, CreateTableBucketCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: CreateTableBucketCommandInput): import("@smithy/smithy-client").CommandImpl<CreateTableBucketCommandInput, CreateTableBucketCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates a 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, CreateTableBucketCommand } from "@aws-sdk/client-s3tables"; // ES Modules import
|
|
35
|
+
* // const { S3TablesClient, CreateTableBucketCommand } = require("@aws-sdk/client-s3tables"); // CommonJS import
|
|
36
|
+
* const client = new S3TablesClient(config);
|
|
37
|
+
* const input = { // CreateTableBucketRequest
|
|
38
|
+
* name: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new CreateTableBucketCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // CreateTableBucketResponse
|
|
43
|
+
* // arn: "STRING_VALUE", // required
|
|
44
|
+
* // };
|
|
45
|
+
*
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @param CreateTableBucketCommandInput - {@link CreateTableBucketCommandInput}
|
|
49
|
+
* @returns {@link CreateTableBucketCommandOutput}
|
|
50
|
+
* @see {@link CreateTableBucketCommandInput} for command's `input` shape.
|
|
51
|
+
* @see {@link CreateTableBucketCommandOutput} 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 CreateTableBucketCommand extends CreateTableBucketCommand_base {
|
|
79
|
+
/** @internal type navigation helper, not in runtime. */
|
|
80
|
+
protected static __types: {
|
|
81
|
+
api: {
|
|
82
|
+
input: CreateTableBucketRequest;
|
|
83
|
+
output: CreateTableBucketResponse;
|
|
84
|
+
};
|
|
85
|
+
sdk: {
|
|
86
|
+
input: CreateTableBucketCommandInput;
|
|
87
|
+
output: CreateTableBucketCommandOutput;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CreateTableRequest, CreateTableResponse } 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 CreateTableCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateTableCommandInput extends CreateTableRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateTableCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateTableCommandOutput extends CreateTableResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateTableCommand_base: {
|
|
25
|
+
new (input: CreateTableCommandInput): import("@smithy/smithy-client").CommandImpl<CreateTableCommandInput, CreateTableCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: CreateTableCommandInput): import("@smithy/smithy-client").CommandImpl<CreateTableCommandInput, CreateTableCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates a new table associated with the given namespace in a 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, CreateTableCommand } from "@aws-sdk/client-s3tables"; // ES Modules import
|
|
35
|
+
* // const { S3TablesClient, CreateTableCommand } = require("@aws-sdk/client-s3tables"); // CommonJS import
|
|
36
|
+
* const client = new S3TablesClient(config);
|
|
37
|
+
* const input = { // CreateTableRequest
|
|
38
|
+
* tableBucketARN: "STRING_VALUE", // required
|
|
39
|
+
* namespace: "STRING_VALUE", // required
|
|
40
|
+
* name: "STRING_VALUE", // required
|
|
41
|
+
* format: "ICEBERG", // required
|
|
42
|
+
* };
|
|
43
|
+
* const command = new CreateTableCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // CreateTableResponse
|
|
46
|
+
* // tableARN: "STRING_VALUE", // required
|
|
47
|
+
* // versionToken: "STRING_VALUE", // required
|
|
48
|
+
* // };
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param CreateTableCommandInput - {@link CreateTableCommandInput}
|
|
53
|
+
* @returns {@link CreateTableCommandOutput}
|
|
54
|
+
* @see {@link CreateTableCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link CreateTableCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link S3TablesClientResolvedConfig | config} for S3TablesClient's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link BadRequestException} (client fault)
|
|
59
|
+
* <p>The request is invalid or malformed.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ConflictException} (client fault)
|
|
62
|
+
* <p>The request failed because there is a conflict with a previous write. You can retry the
|
|
63
|
+
* request.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
66
|
+
* <p>The caller isn't authorized to make the request.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
69
|
+
* <p>The request failed due to an internal server error.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link NotFoundException} (client fault)
|
|
72
|
+
* <p>The request was rejected because the specified resource could not be found.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
75
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link S3TablesServiceException}
|
|
78
|
+
* <p>Base exception class for all service exceptions from S3Tables service.</p>
|
|
79
|
+
*
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
export declare class CreateTableCommand extends CreateTableCommand_base {
|
|
83
|
+
/** @internal type navigation helper, not in runtime. */
|
|
84
|
+
protected static __types: {
|
|
85
|
+
api: {
|
|
86
|
+
input: CreateTableRequest;
|
|
87
|
+
output: CreateTableResponse;
|
|
88
|
+
};
|
|
89
|
+
sdk: {
|
|
90
|
+
input: CreateTableCommandInput;
|
|
91
|
+
output: CreateTableCommandOutput;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DeleteNamespaceRequest } 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 DeleteNamespaceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteNamespaceCommandInput extends DeleteNamespaceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteNamespaceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteNamespaceCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteNamespaceCommand_base: {
|
|
25
|
+
new (input: DeleteNamespaceCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteNamespaceCommandInput, DeleteNamespaceCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: DeleteNamespaceCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteNamespaceCommandInput, DeleteNamespaceCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes 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, DeleteNamespaceCommand } from "@aws-sdk/client-s3tables"; // ES Modules import
|
|
35
|
+
* // const { S3TablesClient, DeleteNamespaceCommand } = require("@aws-sdk/client-s3tables"); // CommonJS import
|
|
36
|
+
* const client = new S3TablesClient(config);
|
|
37
|
+
* const input = { // DeleteNamespaceRequest
|
|
38
|
+
* tableBucketARN: "STRING_VALUE", // required
|
|
39
|
+
* namespace: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new DeleteNamespaceCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // {};
|
|
44
|
+
*
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* @param DeleteNamespaceCommandInput - {@link DeleteNamespaceCommandInput}
|
|
48
|
+
* @returns {@link DeleteNamespaceCommandOutput}
|
|
49
|
+
* @see {@link DeleteNamespaceCommandInput} for command's `input` shape.
|
|
50
|
+
* @see {@link DeleteNamespaceCommandOutput} for command's `response` shape.
|
|
51
|
+
* @see {@link S3TablesClientResolvedConfig | config} for S3TablesClient's `config` shape.
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link BadRequestException} (client fault)
|
|
54
|
+
* <p>The request is invalid or malformed.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link ConflictException} (client fault)
|
|
57
|
+
* <p>The request failed because there is a conflict with a previous write. You can retry the
|
|
58
|
+
* request.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
61
|
+
* <p>The caller isn't authorized to make the request.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
64
|
+
* <p>The request failed due to an internal server error.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link NotFoundException} (client fault)
|
|
67
|
+
* <p>The request was rejected because the specified resource could not be found.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
70
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link S3TablesServiceException}
|
|
73
|
+
* <p>Base exception class for all service exceptions from S3Tables service.</p>
|
|
74
|
+
*
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
export declare class DeleteNamespaceCommand extends DeleteNamespaceCommand_base {
|
|
78
|
+
/** @internal type navigation helper, not in runtime. */
|
|
79
|
+
protected static __types: {
|
|
80
|
+
api: {
|
|
81
|
+
input: DeleteNamespaceRequest;
|
|
82
|
+
output: {};
|
|
83
|
+
};
|
|
84
|
+
sdk: {
|
|
85
|
+
input: DeleteNamespaceCommandInput;
|
|
86
|
+
output: DeleteNamespaceCommandOutput;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DeleteTableBucketRequest } 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 DeleteTableBucketCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteTableBucketCommandInput extends DeleteTableBucketRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteTableBucketCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteTableBucketCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteTableBucketCommand_base: {
|
|
25
|
+
new (input: DeleteTableBucketCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteTableBucketCommandInput, DeleteTableBucketCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: DeleteTableBucketCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteTableBucketCommandInput, DeleteTableBucketCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes a 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, DeleteTableBucketCommand } from "@aws-sdk/client-s3tables"; // ES Modules import
|
|
35
|
+
* // const { S3TablesClient, DeleteTableBucketCommand } = require("@aws-sdk/client-s3tables"); // CommonJS import
|
|
36
|
+
* const client = new S3TablesClient(config);
|
|
37
|
+
* const input = { // DeleteTableBucketRequest
|
|
38
|
+
* tableBucketARN: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new DeleteTableBucketCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // {};
|
|
43
|
+
*
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* @param DeleteTableBucketCommandInput - {@link DeleteTableBucketCommandInput}
|
|
47
|
+
* @returns {@link DeleteTableBucketCommandOutput}
|
|
48
|
+
* @see {@link DeleteTableBucketCommandInput} for command's `input` shape.
|
|
49
|
+
* @see {@link DeleteTableBucketCommandOutput} for command's `response` shape.
|
|
50
|
+
* @see {@link S3TablesClientResolvedConfig | config} for S3TablesClient's `config` shape.
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link BadRequestException} (client fault)
|
|
53
|
+
* <p>The request is invalid or malformed.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ConflictException} (client fault)
|
|
56
|
+
* <p>The request failed because there is a conflict with a previous write. You can retry the
|
|
57
|
+
* request.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
60
|
+
* <p>The caller isn't authorized to make the request.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
63
|
+
* <p>The request failed due to an internal server error.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link NotFoundException} (client fault)
|
|
66
|
+
* <p>The request was rejected because the specified resource could not be found.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
69
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link S3TablesServiceException}
|
|
72
|
+
* <p>Base exception class for all service exceptions from S3Tables service.</p>
|
|
73
|
+
*
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
export declare class DeleteTableBucketCommand extends DeleteTableBucketCommand_base {
|
|
77
|
+
/** @internal type navigation helper, not in runtime. */
|
|
78
|
+
protected static __types: {
|
|
79
|
+
api: {
|
|
80
|
+
input: DeleteTableBucketRequest;
|
|
81
|
+
output: {};
|
|
82
|
+
};
|
|
83
|
+
sdk: {
|
|
84
|
+
input: DeleteTableBucketCommandInput;
|
|
85
|
+
output: DeleteTableBucketCommandOutput;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DeleteTableBucketPolicyRequest } 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 DeleteTableBucketPolicyCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteTableBucketPolicyCommandInput extends DeleteTableBucketPolicyRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteTableBucketPolicyCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteTableBucketPolicyCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteTableBucketPolicyCommand_base: {
|
|
25
|
+
new (input: DeleteTableBucketPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteTableBucketPolicyCommandInput, DeleteTableBucketPolicyCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: DeleteTableBucketPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteTableBucketPolicyCommandInput, DeleteTableBucketPolicyCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes a table bucket policy.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { S3TablesClient, DeleteTableBucketPolicyCommand } from "@aws-sdk/client-s3tables"; // ES Modules import
|
|
35
|
+
* // const { S3TablesClient, DeleteTableBucketPolicyCommand } = require("@aws-sdk/client-s3tables"); // CommonJS import
|
|
36
|
+
* const client = new S3TablesClient(config);
|
|
37
|
+
* const input = { // DeleteTableBucketPolicyRequest
|
|
38
|
+
* tableBucketARN: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new DeleteTableBucketPolicyCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // {};
|
|
43
|
+
*
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* @param DeleteTableBucketPolicyCommandInput - {@link DeleteTableBucketPolicyCommandInput}
|
|
47
|
+
* @returns {@link DeleteTableBucketPolicyCommandOutput}
|
|
48
|
+
* @see {@link DeleteTableBucketPolicyCommandInput} for command's `input` shape.
|
|
49
|
+
* @see {@link DeleteTableBucketPolicyCommandOutput} for command's `response` shape.
|
|
50
|
+
* @see {@link S3TablesClientResolvedConfig | config} for S3TablesClient's `config` shape.
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link BadRequestException} (client fault)
|
|
53
|
+
* <p>The request is invalid or malformed.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ConflictException} (client fault)
|
|
56
|
+
* <p>The request failed because there is a conflict with a previous write. You can retry the
|
|
57
|
+
* request.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
60
|
+
* <p>The caller isn't authorized to make the request.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
63
|
+
* <p>The request failed due to an internal server error.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link NotFoundException} (client fault)
|
|
66
|
+
* <p>The request was rejected because the specified resource could not be found.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
69
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link S3TablesServiceException}
|
|
72
|
+
* <p>Base exception class for all service exceptions from S3Tables service.</p>
|
|
73
|
+
*
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
export declare class DeleteTableBucketPolicyCommand extends DeleteTableBucketPolicyCommand_base {
|
|
77
|
+
/** @internal type navigation helper, not in runtime. */
|
|
78
|
+
protected static __types: {
|
|
79
|
+
api: {
|
|
80
|
+
input: DeleteTableBucketPolicyRequest;
|
|
81
|
+
output: {};
|
|
82
|
+
};
|
|
83
|
+
sdk: {
|
|
84
|
+
input: DeleteTableBucketPolicyCommandInput;
|
|
85
|
+
output: DeleteTableBucketPolicyCommandOutput;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DeleteTableRequest } 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 DeleteTableCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteTableCommandInput extends DeleteTableRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteTableCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteTableCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteTableCommand_base: {
|
|
25
|
+
new (input: DeleteTableCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteTableCommandInput, DeleteTableCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: DeleteTableCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteTableCommandInput, DeleteTableCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes a table.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { S3TablesClient, DeleteTableCommand } from "@aws-sdk/client-s3tables"; // ES Modules import
|
|
35
|
+
* // const { S3TablesClient, DeleteTableCommand } = require("@aws-sdk/client-s3tables"); // CommonJS import
|
|
36
|
+
* const client = new S3TablesClient(config);
|
|
37
|
+
* const input = { // DeleteTableRequest
|
|
38
|
+
* tableBucketARN: "STRING_VALUE", // required
|
|
39
|
+
* namespace: "STRING_VALUE", // required
|
|
40
|
+
* name: "STRING_VALUE", // required
|
|
41
|
+
* versionToken: "STRING_VALUE",
|
|
42
|
+
* };
|
|
43
|
+
* const command = new DeleteTableCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // {};
|
|
46
|
+
*
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* @param DeleteTableCommandInput - {@link DeleteTableCommandInput}
|
|
50
|
+
* @returns {@link DeleteTableCommandOutput}
|
|
51
|
+
* @see {@link DeleteTableCommandInput} for command's `input` shape.
|
|
52
|
+
* @see {@link DeleteTableCommandOutput} for command's `response` shape.
|
|
53
|
+
* @see {@link S3TablesClientResolvedConfig | config} for S3TablesClient's `config` shape.
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link BadRequestException} (client fault)
|
|
56
|
+
* <p>The request is invalid or malformed.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link ConflictException} (client fault)
|
|
59
|
+
* <p>The request failed because there is a conflict with a previous write. You can retry the
|
|
60
|
+
* request.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
63
|
+
* <p>The caller isn't authorized to make the request.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
66
|
+
* <p>The request failed due to an internal server error.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link NotFoundException} (client fault)
|
|
69
|
+
* <p>The request was rejected because the specified resource could not be found.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
72
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link S3TablesServiceException}
|
|
75
|
+
* <p>Base exception class for all service exceptions from S3Tables service.</p>
|
|
76
|
+
*
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
export declare class DeleteTableCommand extends DeleteTableCommand_base {
|
|
80
|
+
/** @internal type navigation helper, not in runtime. */
|
|
81
|
+
protected static __types: {
|
|
82
|
+
api: {
|
|
83
|
+
input: DeleteTableRequest;
|
|
84
|
+
output: {};
|
|
85
|
+
};
|
|
86
|
+
sdk: {
|
|
87
|
+
input: DeleteTableCommandInput;
|
|
88
|
+
output: DeleteTableCommandOutput;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
}
|