@aws-sdk/client-s3tables 3.939.0 → 3.943.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.
Files changed (65) hide show
  1. package/README.md +104 -0
  2. package/dist-cjs/index.js +755 -20
  3. package/dist-es/S3Tables.js +26 -0
  4. package/dist-es/commands/DeleteTableBucketReplicationCommand.js +16 -0
  5. package/dist-es/commands/DeleteTableReplicationCommand.js +16 -0
  6. package/dist-es/commands/GetTableBucketReplicationCommand.js +16 -0
  7. package/dist-es/commands/GetTableBucketStorageClassCommand.js +16 -0
  8. package/dist-es/commands/GetTableRecordExpirationConfigurationCommand.js +16 -0
  9. package/dist-es/commands/GetTableRecordExpirationJobStatusCommand.js +16 -0
  10. package/dist-es/commands/GetTableReplicationCommand.js +16 -0
  11. package/dist-es/commands/GetTableReplicationStatusCommand.js +16 -0
  12. package/dist-es/commands/GetTableStorageClassCommand.js +16 -0
  13. package/dist-es/commands/PutTableBucketReplicationCommand.js +16 -0
  14. package/dist-es/commands/PutTableBucketStorageClassCommand.js +16 -0
  15. package/dist-es/commands/PutTableRecordExpirationConfigurationCommand.js +16 -0
  16. package/dist-es/commands/PutTableReplicationCommand.js +16 -0
  17. package/dist-es/commands/index.js +13 -0
  18. package/dist-es/models/enums.js +19 -0
  19. package/dist-es/models/errors.js +12 -0
  20. package/dist-es/schemas/schemas_0.js +539 -21
  21. package/dist-types/S3Tables.d.ts +91 -0
  22. package/dist-types/S3TablesClient.d.ts +15 -2
  23. package/dist-types/commands/CreateTableBucketCommand.d.ts +4 -1
  24. package/dist-types/commands/CreateTableCommand.d.ts +7 -1
  25. package/dist-types/commands/DeleteTableBucketReplicationCommand.d.ts +94 -0
  26. package/dist-types/commands/DeleteTableReplicationCommand.d.ts +94 -0
  27. package/dist-types/commands/GetTableBucketReplicationCommand.d.ts +107 -0
  28. package/dist-types/commands/GetTableBucketStorageClassCommand.d.ts +94 -0
  29. package/dist-types/commands/GetTableCommand.d.ts +5 -0
  30. package/dist-types/commands/GetTableRecordExpirationConfigurationCommand.d.ts +97 -0
  31. package/dist-types/commands/GetTableRecordExpirationJobStatusCommand.d.ts +99 -0
  32. package/dist-types/commands/GetTableReplicationCommand.d.ts +107 -0
  33. package/dist-types/commands/GetTableReplicationStatusCommand.d.ts +104 -0
  34. package/dist-types/commands/GetTableStorageClassCommand.d.ts +96 -0
  35. package/dist-types/commands/ListTablesCommand.d.ts +1 -0
  36. package/dist-types/commands/PutTableBucketReplicationCommand.d.ts +109 -0
  37. package/dist-types/commands/PutTableBucketStorageClassCommand.d.ts +93 -0
  38. package/dist-types/commands/PutTableRecordExpirationConfigurationCommand.d.ts +96 -0
  39. package/dist-types/commands/PutTableReplicationCommand.d.ts +109 -0
  40. package/dist-types/commands/index.d.ts +13 -0
  41. package/dist-types/models/enums.d.ts +51 -0
  42. package/dist-types/models/errors.d.ts +12 -0
  43. package/dist-types/models/models_0.d.ts +530 -2
  44. package/dist-types/schemas/schemas_0.d.ts +54 -0
  45. package/dist-types/ts3.4/S3Tables.d.ts +239 -0
  46. package/dist-types/ts3.4/S3TablesClient.d.ts +78 -0
  47. package/dist-types/ts3.4/commands/DeleteTableBucketReplicationCommand.d.ts +47 -0
  48. package/dist-types/ts3.4/commands/DeleteTableReplicationCommand.d.ts +46 -0
  49. package/dist-types/ts3.4/commands/GetTableBucketReplicationCommand.d.ts +51 -0
  50. package/dist-types/ts3.4/commands/GetTableBucketStorageClassCommand.d.ts +51 -0
  51. package/dist-types/ts3.4/commands/GetTableRecordExpirationConfigurationCommand.d.ts +51 -0
  52. package/dist-types/ts3.4/commands/GetTableRecordExpirationJobStatusCommand.d.ts +51 -0
  53. package/dist-types/ts3.4/commands/GetTableReplicationCommand.d.ts +51 -0
  54. package/dist-types/ts3.4/commands/GetTableReplicationStatusCommand.d.ts +51 -0
  55. package/dist-types/ts3.4/commands/GetTableStorageClassCommand.d.ts +51 -0
  56. package/dist-types/ts3.4/commands/PutTableBucketReplicationCommand.d.ts +51 -0
  57. package/dist-types/ts3.4/commands/PutTableBucketStorageClassCommand.d.ts +47 -0
  58. package/dist-types/ts3.4/commands/PutTableRecordExpirationConfigurationCommand.d.ts +47 -0
  59. package/dist-types/ts3.4/commands/PutTableReplicationCommand.d.ts +51 -0
  60. package/dist-types/ts3.4/commands/index.d.ts +13 -0
  61. package/dist-types/ts3.4/models/enums.d.ts +26 -0
  62. package/dist-types/ts3.4/models/errors.d.ts +7 -0
  63. package/dist-types/ts3.4/models/models_0.d.ts +142 -0
  64. package/dist-types/ts3.4/schemas/schemas_0.d.ts +54 -0
  65. package/package.json +5 -5
@@ -0,0 +1,109 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { PutTableBucketReplicationRequest, PutTableBucketReplicationResponse } 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 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
+ }
@@ -0,0 +1,93 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { PutTableBucketStorageClassRequest } 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 PutTableBucketStorageClassCommand}.
14
+ */
15
+ export interface PutTableBucketStorageClassCommandInput extends PutTableBucketStorageClassRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link PutTableBucketStorageClassCommand}.
21
+ */
22
+ export interface PutTableBucketStorageClassCommandOutput extends __MetadataBearer {
23
+ }
24
+ declare const PutTableBucketStorageClassCommand_base: {
25
+ new (input: PutTableBucketStorageClassCommandInput): import("@smithy/smithy-client").CommandImpl<PutTableBucketStorageClassCommandInput, PutTableBucketStorageClassCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: PutTableBucketStorageClassCommandInput): import("@smithy/smithy-client").CommandImpl<PutTableBucketStorageClassCommandInput, PutTableBucketStorageClassCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Sets or updates the storage class configuration for a table bucket. This configuration serves as the default storage class for all new tables created in the bucket, allowing you to optimize storage costs at the bucket level.</p> <dl> <dt>Permissions</dt> <dd> <p>You must have the <code>s3tables:PutTableBucketStorageClass</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, PutTableBucketStorageClassCommand } from "@aws-sdk/client-s3tables"; // ES Modules import
35
+ * // const { S3TablesClient, PutTableBucketStorageClassCommand } = 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 = { // PutTableBucketStorageClassRequest
40
+ * tableBucketARN: "STRING_VALUE", // required
41
+ * storageClassConfiguration: { // StorageClassConfiguration
42
+ * storageClass: "STANDARD" || "INTELLIGENT_TIERING", // required
43
+ * },
44
+ * };
45
+ * const command = new PutTableBucketStorageClassCommand(input);
46
+ * const response = await client.send(command);
47
+ * // {};
48
+ *
49
+ * ```
50
+ *
51
+ * @param PutTableBucketStorageClassCommandInput - {@link PutTableBucketStorageClassCommandInput}
52
+ * @returns {@link PutTableBucketStorageClassCommandOutput}
53
+ * @see {@link PutTableBucketStorageClassCommandInput} for command's `input` shape.
54
+ * @see {@link PutTableBucketStorageClassCommandOutput} 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 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
+ *
79
+ * @public
80
+ */
81
+ export declare class PutTableBucketStorageClassCommand extends PutTableBucketStorageClassCommand_base {
82
+ /** @internal type navigation helper, not in runtime. */
83
+ protected static __types: {
84
+ api: {
85
+ input: PutTableBucketStorageClassRequest;
86
+ output: {};
87
+ };
88
+ sdk: {
89
+ input: PutTableBucketStorageClassCommandInput;
90
+ output: PutTableBucketStorageClassCommandOutput;
91
+ };
92
+ };
93
+ }
@@ -0,0 +1,96 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { PutTableRecordExpirationConfigurationRequest } 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 PutTableRecordExpirationConfigurationCommand}.
14
+ */
15
+ export interface PutTableRecordExpirationConfigurationCommandInput extends PutTableRecordExpirationConfigurationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link PutTableRecordExpirationConfigurationCommand}.
21
+ */
22
+ export interface PutTableRecordExpirationConfigurationCommandOutput extends __MetadataBearer {
23
+ }
24
+ declare const PutTableRecordExpirationConfigurationCommand_base: {
25
+ new (input: PutTableRecordExpirationConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<PutTableRecordExpirationConfigurationCommandInput, PutTableRecordExpirationConfigurationCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: PutTableRecordExpirationConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<PutTableRecordExpirationConfigurationCommandInput, PutTableRecordExpirationConfigurationCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Creates or updates the expiration configuration settings for records in a table, including the status of the configuration. If you enable record expiration for a table, records expire and are automatically removed from the table after the number of days that you specify.</p> <dl> <dt>Permissions</dt> <dd> <p>You must have the <code>s3tables:PutTableRecordExpirationConfiguration</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, PutTableRecordExpirationConfigurationCommand } from "@aws-sdk/client-s3tables"; // ES Modules import
35
+ * // const { S3TablesClient, PutTableRecordExpirationConfigurationCommand } = 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 = { // PutTableRecordExpirationConfigurationRequest
40
+ * tableArn: "STRING_VALUE", // required
41
+ * value: { // TableRecordExpirationConfigurationValue
42
+ * status: "enabled" || "disabled",
43
+ * settings: { // TableRecordExpirationSettings
44
+ * days: Number("int"),
45
+ * },
46
+ * },
47
+ * };
48
+ * const command = new PutTableRecordExpirationConfigurationCommand(input);
49
+ * const response = await client.send(command);
50
+ * // {};
51
+ *
52
+ * ```
53
+ *
54
+ * @param PutTableRecordExpirationConfigurationCommandInput - {@link PutTableRecordExpirationConfigurationCommandInput}
55
+ * @returns {@link PutTableRecordExpirationConfigurationCommandOutput}
56
+ * @see {@link PutTableRecordExpirationConfigurationCommandInput} for command's `input` shape.
57
+ * @see {@link PutTableRecordExpirationConfigurationCommandOutput} 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 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 MethodNotAllowedException} (client fault)
70
+ * <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>
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 PutTableRecordExpirationConfigurationCommand extends PutTableRecordExpirationConfigurationCommand_base {
85
+ /** @internal type navigation helper, not in runtime. */
86
+ protected static __types: {
87
+ api: {
88
+ input: PutTableRecordExpirationConfigurationRequest;
89
+ output: {};
90
+ };
91
+ sdk: {
92
+ input: PutTableRecordExpirationConfigurationCommandInput;
93
+ output: PutTableRecordExpirationConfigurationCommandOutput;
94
+ };
95
+ };
96
+ }
@@ -0,0 +1,109 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { PutTableReplicationRequest, PutTableReplicationResponse } 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 PutTableReplicationCommand}.
14
+ */
15
+ export interface PutTableReplicationCommandInput extends PutTableReplicationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link PutTableReplicationCommand}.
21
+ */
22
+ export interface PutTableReplicationCommandOutput extends PutTableReplicationResponse, __MetadataBearer {
23
+ }
24
+ declare const PutTableReplicationCommand_base: {
25
+ new (input: PutTableReplicationCommandInput): import("@smithy/smithy-client").CommandImpl<PutTableReplicationCommandInput, PutTableReplicationCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: PutTableReplicationCommandInput): import("@smithy/smithy-client").CommandImpl<PutTableReplicationCommandInput, PutTableReplicationCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Creates or updates the replication configuration for a specific table. This operation allows you to define table-level replication independently of bucket-level replication, providing granular control over which tables are replicated and where.</p> <dl> <dt>Permissions</dt> <dd> <ul> <li> <p>You must have the <code>s3tables:PutTableReplication</code> permission to use this operation. The IAM role specified in the configuration must have permissions to read from the source table and write to all destination tables.</p> </li> <li> <p>You must also have the following permissions:</p> <ul> <li> <p> <code>s3tables:GetTable</code> permission on the source table being replicated.</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 table.</p> </li> <li> <p> <code>s3tables:PutTableMaintenanceConfig</code> permission for the destination table.</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, PutTableReplicationCommand } from "@aws-sdk/client-s3tables"; // ES Modules import
35
+ * // const { S3TablesClient, PutTableReplicationCommand } = 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 = { // PutTableReplicationRequest
40
+ * tableArn: "STRING_VALUE", // required
41
+ * versionToken: "STRING_VALUE",
42
+ * configuration: { // TableReplicationConfiguration
43
+ * role: "STRING_VALUE", // required
44
+ * rules: [ // TableReplicationRules // required
45
+ * { // TableReplicationRule
46
+ * destinations: [ // ReplicationDestinations // required
47
+ * { // ReplicationDestination
48
+ * destinationTableBucketARN: "STRING_VALUE", // required
49
+ * },
50
+ * ],
51
+ * },
52
+ * ],
53
+ * },
54
+ * };
55
+ * const command = new PutTableReplicationCommand(input);
56
+ * const response = await client.send(command);
57
+ * // { // PutTableReplicationResponse
58
+ * // versionToken: "STRING_VALUE", // required
59
+ * // status: "STRING_VALUE", // required
60
+ * // };
61
+ *
62
+ * ```
63
+ *
64
+ * @param PutTableReplicationCommandInput - {@link PutTableReplicationCommandInput}
65
+ * @returns {@link PutTableReplicationCommandOutput}
66
+ * @see {@link PutTableReplicationCommandInput} for command's `input` shape.
67
+ * @see {@link PutTableReplicationCommandOutput} 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 PutTableReplicationCommand extends PutTableReplicationCommand_base {
98
+ /** @internal type navigation helper, not in runtime. */
99
+ protected static __types: {
100
+ api: {
101
+ input: PutTableReplicationRequest;
102
+ output: PutTableReplicationResponse;
103
+ };
104
+ sdk: {
105
+ input: PutTableReplicationCommandInput;
106
+ output: PutTableReplicationCommandOutput;
107
+ };
108
+ };
109
+ }
@@ -6,20 +6,29 @@ export * from "./DeleteTableBucketCommand";
6
6
  export * from "./DeleteTableBucketEncryptionCommand";
7
7
  export * from "./DeleteTableBucketMetricsConfigurationCommand";
8
8
  export * from "./DeleteTableBucketPolicyCommand";
9
+ export * from "./DeleteTableBucketReplicationCommand";
9
10
  export * from "./DeleteTableCommand";
10
11
  export * from "./DeleteTablePolicyCommand";
12
+ export * from "./DeleteTableReplicationCommand";
11
13
  export * from "./GetNamespaceCommand";
12
14
  export * from "./GetTableBucketCommand";
13
15
  export * from "./GetTableBucketEncryptionCommand";
14
16
  export * from "./GetTableBucketMaintenanceConfigurationCommand";
15
17
  export * from "./GetTableBucketMetricsConfigurationCommand";
16
18
  export * from "./GetTableBucketPolicyCommand";
19
+ export * from "./GetTableBucketReplicationCommand";
20
+ export * from "./GetTableBucketStorageClassCommand";
17
21
  export * from "./GetTableCommand";
18
22
  export * from "./GetTableEncryptionCommand";
19
23
  export * from "./GetTableMaintenanceConfigurationCommand";
20
24
  export * from "./GetTableMaintenanceJobStatusCommand";
21
25
  export * from "./GetTableMetadataLocationCommand";
22
26
  export * from "./GetTablePolicyCommand";
27
+ export * from "./GetTableRecordExpirationConfigurationCommand";
28
+ export * from "./GetTableRecordExpirationJobStatusCommand";
29
+ export * from "./GetTableReplicationCommand";
30
+ export * from "./GetTableReplicationStatusCommand";
31
+ export * from "./GetTableStorageClassCommand";
23
32
  export * from "./ListNamespacesCommand";
24
33
  export * from "./ListTableBucketsCommand";
25
34
  export * from "./ListTablesCommand";
@@ -28,8 +37,12 @@ export * from "./PutTableBucketEncryptionCommand";
28
37
  export * from "./PutTableBucketMaintenanceConfigurationCommand";
29
38
  export * from "./PutTableBucketMetricsConfigurationCommand";
30
39
  export * from "./PutTableBucketPolicyCommand";
40
+ export * from "./PutTableBucketReplicationCommand";
41
+ export * from "./PutTableBucketStorageClassCommand";
31
42
  export * from "./PutTableMaintenanceConfigurationCommand";
32
43
  export * from "./PutTablePolicyCommand";
44
+ export * from "./PutTableRecordExpirationConfigurationCommand";
45
+ export * from "./PutTableReplicationCommand";
33
46
  export * from "./RenameTableCommand";
34
47
  export * from "./TagResourceCommand";
35
48
  export * from "./UntagResourceCommand";
@@ -21,6 +21,18 @@ export declare const OpenTableFormat: {
21
21
  * @public
22
22
  */
23
23
  export type OpenTableFormat = (typeof OpenTableFormat)[keyof typeof OpenTableFormat];
24
+ /**
25
+ * @public
26
+ * @enum
27
+ */
28
+ export declare const StorageClass: {
29
+ readonly INTELLIGENT_TIERING: "INTELLIGENT_TIERING";
30
+ readonly STANDARD: "STANDARD";
31
+ };
32
+ /**
33
+ * @public
34
+ */
35
+ export type StorageClass = (typeof StorageClass)[keyof typeof StorageClass];
24
36
  /**
25
37
  * @public
26
38
  * @enum
@@ -121,3 +133,42 @@ export declare const JobStatus: {
121
133
  * @public
122
134
  */
123
135
  export type JobStatus = (typeof JobStatus)[keyof typeof JobStatus];
136
+ /**
137
+ * @public
138
+ * @enum
139
+ */
140
+ export declare const TableRecordExpirationStatus: {
141
+ readonly DISABLED: "disabled";
142
+ readonly ENABLED: "enabled";
143
+ };
144
+ /**
145
+ * @public
146
+ */
147
+ export type TableRecordExpirationStatus = (typeof TableRecordExpirationStatus)[keyof typeof TableRecordExpirationStatus];
148
+ /**
149
+ * @public
150
+ * @enum
151
+ */
152
+ export declare const TableRecordExpirationJobStatus: {
153
+ readonly DISABLED: "Disabled";
154
+ readonly FAILED: "Failed";
155
+ readonly NOT_YET_RUN: "NotYetRun";
156
+ readonly SUCCESSFUL: "Successful";
157
+ };
158
+ /**
159
+ * @public
160
+ */
161
+ export type TableRecordExpirationJobStatus = (typeof TableRecordExpirationJobStatus)[keyof typeof TableRecordExpirationJobStatus];
162
+ /**
163
+ * @public
164
+ * @enum
165
+ */
166
+ export declare const ReplicationStatus: {
167
+ readonly COMPLETED: "completed";
168
+ readonly FAILED: "failed";
169
+ readonly PENDING: "pending";
170
+ };
171
+ /**
172
+ * @public
173
+ */
174
+ export type ReplicationStatus = (typeof ReplicationStatus)[keyof typeof ReplicationStatus];
@@ -84,3 +84,15 @@ export declare class TooManyRequestsException extends __BaseException {
84
84
  */
85
85
  constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
86
86
  }
87
+ /**
88
+ * <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>
89
+ * @public
90
+ */
91
+ export declare class MethodNotAllowedException extends __BaseException {
92
+ readonly name: "MethodNotAllowedException";
93
+ readonly $fault: "client";
94
+ /**
95
+ * @internal
96
+ */
97
+ constructor(opts: __ExceptionOptionType<MethodNotAllowedException, __BaseException>);
98
+ }