@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
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { GetTableRecordExpirationJobStatusRequest, GetTableRecordExpirationJobStatusResponse } from "../models/models_0";
|
|
4
|
+
import type { 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 GetTableRecordExpirationJobStatusCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetTableRecordExpirationJobStatusCommandInput extends GetTableRecordExpirationJobStatusRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetTableRecordExpirationJobStatusCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetTableRecordExpirationJobStatusCommandOutput extends GetTableRecordExpirationJobStatusResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetTableRecordExpirationJobStatusCommand_base: {
|
|
25
|
+
new (input: GetTableRecordExpirationJobStatusCommandInput): import("@smithy/smithy-client").CommandImpl<GetTableRecordExpirationJobStatusCommandInput, GetTableRecordExpirationJobStatusCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetTableRecordExpirationJobStatusCommandInput): import("@smithy/smithy-client").CommandImpl<GetTableRecordExpirationJobStatusCommandInput, GetTableRecordExpirationJobStatusCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves the status, metrics, and details of the latest record expiration job for a table. This includes when the job ran, and whether it succeeded or failed. If the job ran successfully, this also includes statistics about the records that were removed.</p> <dl> <dt>Permissions</dt> <dd> <p>You must have the <code>s3tables:GetTableRecordExpirationJobStatus</code> permission to use this operation.</p> </dd> </dl>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { S3TablesClient, GetTableRecordExpirationJobStatusCommand } from "@aws-sdk/client-s3tables"; // ES Modules import
|
|
35
|
+
* // const { S3TablesClient, GetTableRecordExpirationJobStatusCommand } = require("@aws-sdk/client-s3tables"); // CommonJS import
|
|
36
|
+
* // import type { S3TablesClientConfig } from "@aws-sdk/client-s3tables";
|
|
37
|
+
* const config = {}; // type is S3TablesClientConfig
|
|
38
|
+
* const client = new S3TablesClient(config);
|
|
39
|
+
* const input = { // GetTableRecordExpirationJobStatusRequest
|
|
40
|
+
* tableArn: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new GetTableRecordExpirationJobStatusCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // GetTableRecordExpirationJobStatusResponse
|
|
45
|
+
* // status: "NotYetRun" || "Successful" || "Failed" || "Disabled", // required
|
|
46
|
+
* // lastRunTimestamp: new Date("TIMESTAMP"),
|
|
47
|
+
* // failureMessage: "STRING_VALUE",
|
|
48
|
+
* // metrics: { // TableRecordExpirationJobMetrics
|
|
49
|
+
* // deletedDataFiles: Number("long"),
|
|
50
|
+
* // deletedRecords: Number("long"),
|
|
51
|
+
* // removedFilesSize: Number("long"),
|
|
52
|
+
* // },
|
|
53
|
+
* // };
|
|
54
|
+
*
|
|
55
|
+
* ```
|
|
56
|
+
*
|
|
57
|
+
* @param GetTableRecordExpirationJobStatusCommandInput - {@link GetTableRecordExpirationJobStatusCommandInput}
|
|
58
|
+
* @returns {@link GetTableRecordExpirationJobStatusCommandOutput}
|
|
59
|
+
* @see {@link GetTableRecordExpirationJobStatusCommandInput} for command's `input` shape.
|
|
60
|
+
* @see {@link GetTableRecordExpirationJobStatusCommandOutput} 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 ForbiddenException} (client fault)
|
|
67
|
+
* <p>The caller isn't authorized to make the request.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
70
|
+
* <p>The request failed due to an internal server error.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link MethodNotAllowedException} (client fault)
|
|
73
|
+
* <p>The requested operation is not allowed on this resource. This may occur when attempting to modify a resource that is managed by a service or has restrictions that prevent the operation.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link NotFoundException} (client fault)
|
|
76
|
+
* <p>The request was rejected because the specified resource could not be found.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
79
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link S3TablesServiceException}
|
|
82
|
+
* <p>Base exception class for all service exceptions from S3Tables service.</p>
|
|
83
|
+
*
|
|
84
|
+
*
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
export declare class GetTableRecordExpirationJobStatusCommand extends GetTableRecordExpirationJobStatusCommand_base {
|
|
88
|
+
/** @internal type navigation helper, not in runtime. */
|
|
89
|
+
protected static __types: {
|
|
90
|
+
api: {
|
|
91
|
+
input: GetTableRecordExpirationJobStatusRequest;
|
|
92
|
+
output: GetTableRecordExpirationJobStatusResponse;
|
|
93
|
+
};
|
|
94
|
+
sdk: {
|
|
95
|
+
input: GetTableRecordExpirationJobStatusCommandInput;
|
|
96
|
+
output: GetTableRecordExpirationJobStatusCommandOutput;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { GetTableReplicationRequest, GetTableReplicationResponse } from "../models/models_0";
|
|
4
|
+
import type { 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 GetTableReplicationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetTableReplicationCommandInput extends GetTableReplicationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetTableReplicationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetTableReplicationCommandOutput extends GetTableReplicationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetTableReplicationCommand_base: {
|
|
25
|
+
new (input: GetTableReplicationCommandInput): import("@smithy/smithy-client").CommandImpl<GetTableReplicationCommandInput, GetTableReplicationCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetTableReplicationCommandInput): import("@smithy/smithy-client").CommandImpl<GetTableReplicationCommandInput, GetTableReplicationCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves the replication configuration for a specific table.</p> <dl> <dt>Permissions</dt> <dd> <p>You must have the <code>s3tables:GetTableReplication</code> permission to use this operation.</p> </dd> </dl>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { S3TablesClient, GetTableReplicationCommand } from "@aws-sdk/client-s3tables"; // ES Modules import
|
|
35
|
+
* // const { S3TablesClient, GetTableReplicationCommand } = require("@aws-sdk/client-s3tables"); // CommonJS import
|
|
36
|
+
* // import type { S3TablesClientConfig } from "@aws-sdk/client-s3tables";
|
|
37
|
+
* const config = {}; // type is S3TablesClientConfig
|
|
38
|
+
* const client = new S3TablesClient(config);
|
|
39
|
+
* const input = { // GetTableReplicationRequest
|
|
40
|
+
* tableArn: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new GetTableReplicationCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // GetTableReplicationResponse
|
|
45
|
+
* // versionToken: "STRING_VALUE", // required
|
|
46
|
+
* // configuration: { // TableReplicationConfiguration
|
|
47
|
+
* // role: "STRING_VALUE", // required
|
|
48
|
+
* // rules: [ // TableReplicationRules // required
|
|
49
|
+
* // { // TableReplicationRule
|
|
50
|
+
* // destinations: [ // ReplicationDestinations // required
|
|
51
|
+
* // { // ReplicationDestination
|
|
52
|
+
* // destinationTableBucketARN: "STRING_VALUE", // required
|
|
53
|
+
* // },
|
|
54
|
+
* // ],
|
|
55
|
+
* // },
|
|
56
|
+
* // ],
|
|
57
|
+
* // },
|
|
58
|
+
* // };
|
|
59
|
+
*
|
|
60
|
+
* ```
|
|
61
|
+
*
|
|
62
|
+
* @param GetTableReplicationCommandInput - {@link GetTableReplicationCommandInput}
|
|
63
|
+
* @returns {@link GetTableReplicationCommandOutput}
|
|
64
|
+
* @see {@link GetTableReplicationCommandInput} for command's `input` shape.
|
|
65
|
+
* @see {@link GetTableReplicationCommandOutput} for command's `response` shape.
|
|
66
|
+
* @see {@link S3TablesClientResolvedConfig | config} for S3TablesClient's `config` shape.
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
69
|
+
* <p>The action cannot be performed because you do not have the required permission.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link BadRequestException} (client fault)
|
|
72
|
+
* <p>The request is invalid or malformed.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ConflictException} (client fault)
|
|
75
|
+
* <p>The request failed because there is a conflict with a previous write. You can retry the 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
|
+
*
|
|
93
|
+
* @public
|
|
94
|
+
*/
|
|
95
|
+
export declare class GetTableReplicationCommand extends GetTableReplicationCommand_base {
|
|
96
|
+
/** @internal type navigation helper, not in runtime. */
|
|
97
|
+
protected static __types: {
|
|
98
|
+
api: {
|
|
99
|
+
input: GetTableReplicationRequest;
|
|
100
|
+
output: GetTableReplicationResponse;
|
|
101
|
+
};
|
|
102
|
+
sdk: {
|
|
103
|
+
input: GetTableReplicationCommandInput;
|
|
104
|
+
output: GetTableReplicationCommandOutput;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { GetTableReplicationStatusRequest, GetTableReplicationStatusResponse } from "../models/models_0";
|
|
4
|
+
import type { 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 GetTableReplicationStatusCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetTableReplicationStatusCommandInput extends GetTableReplicationStatusRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetTableReplicationStatusCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetTableReplicationStatusCommandOutput extends GetTableReplicationStatusResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetTableReplicationStatusCommand_base: {
|
|
25
|
+
new (input: GetTableReplicationStatusCommandInput): import("@smithy/smithy-client").CommandImpl<GetTableReplicationStatusCommandInput, GetTableReplicationStatusCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetTableReplicationStatusCommandInput): import("@smithy/smithy-client").CommandImpl<GetTableReplicationStatusCommandInput, GetTableReplicationStatusCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves the replication status for a table, including the status of replication to each destination. This operation provides visibility into replication health and progress.</p> <dl> <dt>Permissions</dt> <dd> <p>You must have the <code>s3tables:GetTableReplicationStatus</code> permission to use this operation.</p> </dd> </dl>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { S3TablesClient, GetTableReplicationStatusCommand } from "@aws-sdk/client-s3tables"; // ES Modules import
|
|
35
|
+
* // const { S3TablesClient, GetTableReplicationStatusCommand } = require("@aws-sdk/client-s3tables"); // CommonJS import
|
|
36
|
+
* // import type { S3TablesClientConfig } from "@aws-sdk/client-s3tables";
|
|
37
|
+
* const config = {}; // type is S3TablesClientConfig
|
|
38
|
+
* const client = new S3TablesClient(config);
|
|
39
|
+
* const input = { // GetTableReplicationStatusRequest
|
|
40
|
+
* tableArn: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new GetTableReplicationStatusCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // GetTableReplicationStatusResponse
|
|
45
|
+
* // sourceTableArn: "STRING_VALUE", // required
|
|
46
|
+
* // destinations: [ // ReplicationDestinationStatuses // required
|
|
47
|
+
* // { // ReplicationDestinationStatusModel
|
|
48
|
+
* // replicationStatus: "pending" || "completed" || "failed", // required
|
|
49
|
+
* // destinationTableBucketArn: "STRING_VALUE", // required
|
|
50
|
+
* // destinationTableArn: "STRING_VALUE",
|
|
51
|
+
* // lastSuccessfulReplicatedUpdate: { // LastSuccessfulReplicatedUpdate
|
|
52
|
+
* // metadataLocation: "STRING_VALUE", // required
|
|
53
|
+
* // timestamp: new Date("TIMESTAMP"), // required
|
|
54
|
+
* // },
|
|
55
|
+
* // failureMessage: "STRING_VALUE",
|
|
56
|
+
* // },
|
|
57
|
+
* // ],
|
|
58
|
+
* // };
|
|
59
|
+
*
|
|
60
|
+
* ```
|
|
61
|
+
*
|
|
62
|
+
* @param GetTableReplicationStatusCommandInput - {@link GetTableReplicationStatusCommandInput}
|
|
63
|
+
* @returns {@link GetTableReplicationStatusCommandOutput}
|
|
64
|
+
* @see {@link GetTableReplicationStatusCommandInput} for command's `input` shape.
|
|
65
|
+
* @see {@link GetTableReplicationStatusCommandOutput} 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 request.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
75
|
+
* <p>The caller isn't authorized to make the request.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
78
|
+
* <p>The request failed due to an internal server error.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link NotFoundException} (client fault)
|
|
81
|
+
* <p>The request was rejected because the specified resource could not be found.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
84
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link S3TablesServiceException}
|
|
87
|
+
* <p>Base exception class for all service exceptions from S3Tables service.</p>
|
|
88
|
+
*
|
|
89
|
+
*
|
|
90
|
+
* @public
|
|
91
|
+
*/
|
|
92
|
+
export declare class GetTableReplicationStatusCommand extends GetTableReplicationStatusCommand_base {
|
|
93
|
+
/** @internal type navigation helper, not in runtime. */
|
|
94
|
+
protected static __types: {
|
|
95
|
+
api: {
|
|
96
|
+
input: GetTableReplicationStatusRequest;
|
|
97
|
+
output: GetTableReplicationStatusResponse;
|
|
98
|
+
};
|
|
99
|
+
sdk: {
|
|
100
|
+
input: GetTableReplicationStatusCommandInput;
|
|
101
|
+
output: GetTableReplicationStatusCommandOutput;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { GetTableStorageClassRequest, GetTableStorageClassResponse } from "../models/models_0";
|
|
4
|
+
import type { 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 GetTableStorageClassCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetTableStorageClassCommandInput extends GetTableStorageClassRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetTableStorageClassCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetTableStorageClassCommandOutput extends GetTableStorageClassResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetTableStorageClassCommand_base: {
|
|
25
|
+
new (input: GetTableStorageClassCommandInput): import("@smithy/smithy-client").CommandImpl<GetTableStorageClassCommandInput, GetTableStorageClassCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetTableStorageClassCommandInput): import("@smithy/smithy-client").CommandImpl<GetTableStorageClassCommandInput, GetTableStorageClassCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves the storage class configuration for a specific table. This allows you to view the storage class settings that apply to an individual table, which may differ from the table bucket's default configuration.</p> <dl> <dt>Permissions</dt> <dd> <p>You must have the <code>s3tables:GetTableStorageClass</code> permission to use this operation.</p> </dd> </dl>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { S3TablesClient, GetTableStorageClassCommand } from "@aws-sdk/client-s3tables"; // ES Modules import
|
|
35
|
+
* // const { S3TablesClient, GetTableStorageClassCommand } = require("@aws-sdk/client-s3tables"); // CommonJS import
|
|
36
|
+
* // import type { S3TablesClientConfig } from "@aws-sdk/client-s3tables";
|
|
37
|
+
* const config = {}; // type is S3TablesClientConfig
|
|
38
|
+
* const client = new S3TablesClient(config);
|
|
39
|
+
* const input = { // GetTableStorageClassRequest
|
|
40
|
+
* tableBucketARN: "STRING_VALUE", // required
|
|
41
|
+
* namespace: "STRING_VALUE", // required
|
|
42
|
+
* name: "STRING_VALUE", // required
|
|
43
|
+
* };
|
|
44
|
+
* const command = new GetTableStorageClassCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // GetTableStorageClassResponse
|
|
47
|
+
* // storageClassConfiguration: { // StorageClassConfiguration
|
|
48
|
+
* // storageClass: "STANDARD" || "INTELLIGENT_TIERING", // required
|
|
49
|
+
* // },
|
|
50
|
+
* // };
|
|
51
|
+
*
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* @param GetTableStorageClassCommandInput - {@link GetTableStorageClassCommandInput}
|
|
55
|
+
* @returns {@link GetTableStorageClassCommandOutput}
|
|
56
|
+
* @see {@link GetTableStorageClassCommandInput} for command's `input` shape.
|
|
57
|
+
* @see {@link GetTableStorageClassCommandOutput} for command's `response` shape.
|
|
58
|
+
* @see {@link S3TablesClientResolvedConfig | config} for S3TablesClient's `config` shape.
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
61
|
+
* <p>The action cannot be performed because you do not have the required permission.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link BadRequestException} (client fault)
|
|
64
|
+
* <p>The request is invalid or malformed.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
67
|
+
* <p>The caller isn't authorized to make the request.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
70
|
+
* <p>The request failed due to an internal server error.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link NotFoundException} (client fault)
|
|
73
|
+
* <p>The request was rejected because the specified resource could not be found.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
76
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link S3TablesServiceException}
|
|
79
|
+
* <p>Base exception class for all service exceptions from S3Tables service.</p>
|
|
80
|
+
*
|
|
81
|
+
*
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
export declare class GetTableStorageClassCommand extends GetTableStorageClassCommand_base {
|
|
85
|
+
/** @internal type navigation helper, not in runtime. */
|
|
86
|
+
protected static __types: {
|
|
87
|
+
api: {
|
|
88
|
+
input: GetTableStorageClassRequest;
|
|
89
|
+
output: GetTableStorageClassResponse;
|
|
90
|
+
};
|
|
91
|
+
sdk: {
|
|
92
|
+
input: GetTableStorageClassCommandInput;
|
|
93
|
+
output: GetTableStorageClassCommandOutput;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ListNamespacesRequest, ListNamespacesResponse } from "../models/models_0";
|
|
4
|
-
import { S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3TablesClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ListNamespacesRequest, ListNamespacesResponse } from "../models/models_0";
|
|
4
|
+
import type { S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3TablesClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ListTableBucketsRequest, ListTableBucketsResponse } from "../models/models_0";
|
|
4
|
-
import { S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3TablesClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ListTableBucketsRequest, ListTableBucketsResponse } from "../models/models_0";
|
|
4
|
+
import type { S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3TablesClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
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";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ListTablesRequest, ListTablesResponse } from "../models/models_0";
|
|
4
|
+
import type { S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3TablesClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -56,6 +56,7 @@ declare const ListTablesCommand_base: {
|
|
|
56
56
|
* // tableARN: "STRING_VALUE", // required
|
|
57
57
|
* // createdAt: new Date("TIMESTAMP"), // required
|
|
58
58
|
* // modifiedAt: new Date("TIMESTAMP"), // required
|
|
59
|
+
* // managedByService: "STRING_VALUE",
|
|
59
60
|
* // namespaceId: "STRING_VALUE",
|
|
60
61
|
* // tableBucketId: "STRING_VALUE",
|
|
61
62
|
* // },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
4
|
-
import { S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3TablesClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
4
|
+
import type { S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3TablesClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { PutTableBucketEncryptionRequest } from "../models/models_0";
|
|
4
|
-
import { S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3TablesClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { PutTableBucketEncryptionRequest } from "../models/models_0";
|
|
4
|
+
import type { S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3TablesClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
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";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { PutTableBucketMaintenanceConfigurationRequest } from "../models/models_0";
|
|
4
|
+
import type { S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3TablesClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { PutTableBucketMetricsConfigurationRequest } from "../models/models_0";
|
|
4
|
-
import { S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3TablesClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { PutTableBucketMetricsConfigurationRequest } from "../models/models_0";
|
|
4
|
+
import type { S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3TablesClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
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";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { PutTableBucketPolicyRequest } from "../models/models_0";
|
|
4
|
+
import type { S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3TablesClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { PutTableBucketReplicationRequest, PutTableBucketReplicationResponse } from "../models/models_0";
|
|
4
|
+
import type { 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 PutTableBucketReplicationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface PutTableBucketReplicationCommandInput extends PutTableBucketReplicationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link PutTableBucketReplicationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface PutTableBucketReplicationCommandOutput extends PutTableBucketReplicationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const PutTableBucketReplicationCommand_base: {
|
|
25
|
+
new (input: PutTableBucketReplicationCommandInput): import("@smithy/smithy-client").CommandImpl<PutTableBucketReplicationCommandInput, PutTableBucketReplicationCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: PutTableBucketReplicationCommandInput): import("@smithy/smithy-client").CommandImpl<PutTableBucketReplicationCommandInput, PutTableBucketReplicationCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates or updates the replication configuration for a table bucket. This operation defines how tables in the source bucket are replicated to destination buckets. Replication helps ensure data availability and disaster recovery across regions or accounts.</p> <dl> <dt>Permissions</dt> <dd> <ul> <li> <p>You must have the <code>s3tables:PutTableBucketReplication</code> permission to use this operation. The IAM role specified in the configuration must have permissions to read from the source bucket and write permissions to all destination buckets.</p> </li> <li> <p>You must also have the following permissions:</p> <ul> <li> <p> <code>s3tables:GetTable</code> permission on the source table.</p> </li> <li> <p> <code>s3tables:ListTables</code> permission on the bucket containing the table.</p> </li> <li> <p> <code>s3tables:CreateTable</code> permission for the destination.</p> </li> <li> <p> <code>s3tables:CreateNamespace</code> permission for the destination.</p> </li> <li> <p> <code>s3tables:GetTableMaintenanceConfig</code> permission for the source bucket.</p> </li> <li> <p> <code>s3tables:PutTableMaintenanceConfig</code> permission for the destination bucket.</p> </li> </ul> </li> <li> <p>You must have <code>iam:PassRole</code> permission with condition allowing roles to be passed to <code>replication.s3tables.amazonaws.com</code>.</p> </li> </ul> </dd> </dl>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { S3TablesClient, PutTableBucketReplicationCommand } from "@aws-sdk/client-s3tables"; // ES Modules import
|
|
35
|
+
* // const { S3TablesClient, PutTableBucketReplicationCommand } = require("@aws-sdk/client-s3tables"); // CommonJS import
|
|
36
|
+
* // import type { S3TablesClientConfig } from "@aws-sdk/client-s3tables";
|
|
37
|
+
* const config = {}; // type is S3TablesClientConfig
|
|
38
|
+
* const client = new S3TablesClient(config);
|
|
39
|
+
* const input = { // PutTableBucketReplicationRequest
|
|
40
|
+
* tableBucketARN: "STRING_VALUE", // required
|
|
41
|
+
* versionToken: "STRING_VALUE",
|
|
42
|
+
* configuration: { // TableBucketReplicationConfiguration
|
|
43
|
+
* role: "STRING_VALUE", // required
|
|
44
|
+
* rules: [ // TableBucketReplicationRules // required
|
|
45
|
+
* { // TableBucketReplicationRule
|
|
46
|
+
* destinations: [ // ReplicationDestinations // required
|
|
47
|
+
* { // ReplicationDestination
|
|
48
|
+
* destinationTableBucketARN: "STRING_VALUE", // required
|
|
49
|
+
* },
|
|
50
|
+
* ],
|
|
51
|
+
* },
|
|
52
|
+
* ],
|
|
53
|
+
* },
|
|
54
|
+
* };
|
|
55
|
+
* const command = new PutTableBucketReplicationCommand(input);
|
|
56
|
+
* const response = await client.send(command);
|
|
57
|
+
* // { // PutTableBucketReplicationResponse
|
|
58
|
+
* // versionToken: "STRING_VALUE", // required
|
|
59
|
+
* // status: "STRING_VALUE", // required
|
|
60
|
+
* // };
|
|
61
|
+
*
|
|
62
|
+
* ```
|
|
63
|
+
*
|
|
64
|
+
* @param PutTableBucketReplicationCommandInput - {@link PutTableBucketReplicationCommandInput}
|
|
65
|
+
* @returns {@link PutTableBucketReplicationCommandOutput}
|
|
66
|
+
* @see {@link PutTableBucketReplicationCommandInput} for command's `input` shape.
|
|
67
|
+
* @see {@link PutTableBucketReplicationCommandOutput} for command's `response` shape.
|
|
68
|
+
* @see {@link S3TablesClientResolvedConfig | config} for S3TablesClient's `config` shape.
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
71
|
+
* <p>The action cannot be performed because you do not have the required permission.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link BadRequestException} (client fault)
|
|
74
|
+
* <p>The request is invalid or malformed.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ConflictException} (client fault)
|
|
77
|
+
* <p>The request failed because there is a conflict with a previous write. You can retry the request.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
80
|
+
* <p>The caller isn't authorized to make the request.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
83
|
+
* <p>The request failed due to an internal server error.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link NotFoundException} (client fault)
|
|
86
|
+
* <p>The request was rejected because the specified resource could not be found.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
89
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link S3TablesServiceException}
|
|
92
|
+
* <p>Base exception class for all service exceptions from S3Tables service.</p>
|
|
93
|
+
*
|
|
94
|
+
*
|
|
95
|
+
* @public
|
|
96
|
+
*/
|
|
97
|
+
export declare class PutTableBucketReplicationCommand extends PutTableBucketReplicationCommand_base {
|
|
98
|
+
/** @internal type navigation helper, not in runtime. */
|
|
99
|
+
protected static __types: {
|
|
100
|
+
api: {
|
|
101
|
+
input: PutTableBucketReplicationRequest;
|
|
102
|
+
output: PutTableBucketReplicationResponse;
|
|
103
|
+
};
|
|
104
|
+
sdk: {
|
|
105
|
+
input: PutTableBucketReplicationCommandInput;
|
|
106
|
+
output: PutTableBucketReplicationCommandOutput;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
}
|