@aws-sdk/client-s3tables 3.929.0 → 3.930.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 (26) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/index.js +100 -28
  3. package/dist-es/S3Tables.js +6 -0
  4. package/dist-es/commands/DeleteTableBucketMetricsConfigurationCommand.js +16 -0
  5. package/dist-es/commands/GetTableBucketMetricsConfigurationCommand.js +16 -0
  6. package/dist-es/commands/PutTableBucketMetricsConfigurationCommand.js +16 -0
  7. package/dist-es/commands/index.js +3 -0
  8. package/dist-es/models/models_0.js +0 -26
  9. package/dist-es/schemas/schemas_0.js +58 -2
  10. package/dist-types/S3Tables.d.ts +21 -0
  11. package/dist-types/S3TablesClient.d.ts +5 -2
  12. package/dist-types/commands/DeleteTableBucketMetricsConfigurationCommand.d.ts +90 -0
  13. package/dist-types/commands/GetTableBucketMetricsConfigurationCommand.d.ts +93 -0
  14. package/dist-types/commands/PutTableBucketMetricsConfigurationCommand.d.ts +90 -0
  15. package/dist-types/commands/index.d.ts +3 -0
  16. package/dist-types/models/models_0.d.ts +57 -3
  17. package/dist-types/schemas/schemas_0.d.ts +7 -0
  18. package/dist-types/ts3.4/S3Tables.d.ts +69 -0
  19. package/dist-types/ts3.4/S3TablesClient.d.ts +18 -0
  20. package/dist-types/ts3.4/commands/DeleteTableBucketMetricsConfigurationCommand.d.ts +47 -0
  21. package/dist-types/ts3.4/commands/GetTableBucketMetricsConfigurationCommand.d.ts +51 -0
  22. package/dist-types/ts3.4/commands/PutTableBucketMetricsConfigurationCommand.d.ts +47 -0
  23. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  24. package/dist-types/ts3.4/models/models_0.d.ts +13 -6
  25. package/dist-types/ts3.4/schemas/schemas_0.d.ts +7 -0
  26. package/package.json +33 -33
@@ -5,6 +5,7 @@ import { CreateTableCommandInput, CreateTableCommandOutput } from "./commands/Cr
5
5
  import { DeleteNamespaceCommandInput, DeleteNamespaceCommandOutput } from "./commands/DeleteNamespaceCommand";
6
6
  import { DeleteTableBucketCommandInput, DeleteTableBucketCommandOutput } from "./commands/DeleteTableBucketCommand";
7
7
  import { DeleteTableBucketEncryptionCommandInput, DeleteTableBucketEncryptionCommandOutput } from "./commands/DeleteTableBucketEncryptionCommand";
8
+ import { DeleteTableBucketMetricsConfigurationCommandInput, DeleteTableBucketMetricsConfigurationCommandOutput } from "./commands/DeleteTableBucketMetricsConfigurationCommand";
8
9
  import { DeleteTableBucketPolicyCommandInput, DeleteTableBucketPolicyCommandOutput } from "./commands/DeleteTableBucketPolicyCommand";
9
10
  import { DeleteTableCommandInput, DeleteTableCommandOutput } from "./commands/DeleteTableCommand";
10
11
  import { DeleteTablePolicyCommandInput, DeleteTablePolicyCommandOutput } from "./commands/DeleteTablePolicyCommand";
@@ -12,6 +13,7 @@ import { GetNamespaceCommandInput, GetNamespaceCommandOutput } from "./commands/
12
13
  import { GetTableBucketCommandInput, GetTableBucketCommandOutput } from "./commands/GetTableBucketCommand";
13
14
  import { GetTableBucketEncryptionCommandInput, GetTableBucketEncryptionCommandOutput } from "./commands/GetTableBucketEncryptionCommand";
14
15
  import { GetTableBucketMaintenanceConfigurationCommandInput, GetTableBucketMaintenanceConfigurationCommandOutput } from "./commands/GetTableBucketMaintenanceConfigurationCommand";
16
+ import { GetTableBucketMetricsConfigurationCommandInput, GetTableBucketMetricsConfigurationCommandOutput } from "./commands/GetTableBucketMetricsConfigurationCommand";
15
17
  import { GetTableBucketPolicyCommandInput, GetTableBucketPolicyCommandOutput } from "./commands/GetTableBucketPolicyCommand";
16
18
  import { GetTableCommandInput, GetTableCommandOutput } from "./commands/GetTableCommand";
17
19
  import { GetTableEncryptionCommandInput, GetTableEncryptionCommandOutput } from "./commands/GetTableEncryptionCommand";
@@ -25,6 +27,7 @@ import { ListTablesCommandInput, ListTablesCommandOutput } from "./commands/List
25
27
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
26
28
  import { PutTableBucketEncryptionCommandInput, PutTableBucketEncryptionCommandOutput } from "./commands/PutTableBucketEncryptionCommand";
27
29
  import { PutTableBucketMaintenanceConfigurationCommandInput, PutTableBucketMaintenanceConfigurationCommandOutput } from "./commands/PutTableBucketMaintenanceConfigurationCommand";
30
+ import { PutTableBucketMetricsConfigurationCommandInput, PutTableBucketMetricsConfigurationCommandOutput } from "./commands/PutTableBucketMetricsConfigurationCommand";
28
31
  import { PutTableBucketPolicyCommandInput, PutTableBucketPolicyCommandOutput } from "./commands/PutTableBucketPolicyCommand";
29
32
  import { PutTableMaintenanceConfigurationCommandInput, PutTableMaintenanceConfigurationCommandOutput } from "./commands/PutTableMaintenanceConfigurationCommand";
30
33
  import { PutTablePolicyCommandInput, PutTablePolicyCommandOutput } from "./commands/PutTablePolicyCommand";
@@ -76,6 +79,12 @@ export interface S3Tables {
76
79
  deleteTableBucketEncryption(args: DeleteTableBucketEncryptionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTableBucketEncryptionCommandOutput>;
77
80
  deleteTableBucketEncryption(args: DeleteTableBucketEncryptionCommandInput, cb: (err: any, data?: DeleteTableBucketEncryptionCommandOutput) => void): void;
78
81
  deleteTableBucketEncryption(args: DeleteTableBucketEncryptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTableBucketEncryptionCommandOutput) => void): void;
82
+ /**
83
+ * @see {@link DeleteTableBucketMetricsConfigurationCommand}
84
+ */
85
+ deleteTableBucketMetricsConfiguration(args: DeleteTableBucketMetricsConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTableBucketMetricsConfigurationCommandOutput>;
86
+ deleteTableBucketMetricsConfiguration(args: DeleteTableBucketMetricsConfigurationCommandInput, cb: (err: any, data?: DeleteTableBucketMetricsConfigurationCommandOutput) => void): void;
87
+ deleteTableBucketMetricsConfiguration(args: DeleteTableBucketMetricsConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTableBucketMetricsConfigurationCommandOutput) => void): void;
79
88
  /**
80
89
  * @see {@link DeleteTableBucketPolicyCommand}
81
90
  */
@@ -119,6 +128,12 @@ export interface S3Tables {
119
128
  getTableBucketMaintenanceConfiguration(args: GetTableBucketMaintenanceConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetTableBucketMaintenanceConfigurationCommandOutput>;
120
129
  getTableBucketMaintenanceConfiguration(args: GetTableBucketMaintenanceConfigurationCommandInput, cb: (err: any, data?: GetTableBucketMaintenanceConfigurationCommandOutput) => void): void;
121
130
  getTableBucketMaintenanceConfiguration(args: GetTableBucketMaintenanceConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTableBucketMaintenanceConfigurationCommandOutput) => void): void;
131
+ /**
132
+ * @see {@link GetTableBucketMetricsConfigurationCommand}
133
+ */
134
+ getTableBucketMetricsConfiguration(args: GetTableBucketMetricsConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetTableBucketMetricsConfigurationCommandOutput>;
135
+ getTableBucketMetricsConfiguration(args: GetTableBucketMetricsConfigurationCommandInput, cb: (err: any, data?: GetTableBucketMetricsConfigurationCommandOutput) => void): void;
136
+ getTableBucketMetricsConfiguration(args: GetTableBucketMetricsConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTableBucketMetricsConfigurationCommandOutput) => void): void;
122
137
  /**
123
138
  * @see {@link GetTableBucketPolicyCommand}
124
139
  */
@@ -192,6 +207,12 @@ export interface S3Tables {
192
207
  putTableBucketMaintenanceConfiguration(args: PutTableBucketMaintenanceConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<PutTableBucketMaintenanceConfigurationCommandOutput>;
193
208
  putTableBucketMaintenanceConfiguration(args: PutTableBucketMaintenanceConfigurationCommandInput, cb: (err: any, data?: PutTableBucketMaintenanceConfigurationCommandOutput) => void): void;
194
209
  putTableBucketMaintenanceConfiguration(args: PutTableBucketMaintenanceConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutTableBucketMaintenanceConfigurationCommandOutput) => void): void;
210
+ /**
211
+ * @see {@link PutTableBucketMetricsConfigurationCommand}
212
+ */
213
+ putTableBucketMetricsConfiguration(args: PutTableBucketMetricsConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<PutTableBucketMetricsConfigurationCommandOutput>;
214
+ putTableBucketMetricsConfiguration(args: PutTableBucketMetricsConfigurationCommandInput, cb: (err: any, data?: PutTableBucketMetricsConfigurationCommandOutput) => void): void;
215
+ putTableBucketMetricsConfiguration(args: PutTableBucketMetricsConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutTableBucketMetricsConfigurationCommandOutput) => void): void;
195
216
  /**
196
217
  * @see {@link PutTableBucketPolicyCommand}
197
218
  */
@@ -13,6 +13,7 @@ import { CreateTableCommandInput, CreateTableCommandOutput } from "./commands/Cr
13
13
  import { DeleteNamespaceCommandInput, DeleteNamespaceCommandOutput } from "./commands/DeleteNamespaceCommand";
14
14
  import { DeleteTableBucketCommandInput, DeleteTableBucketCommandOutput } from "./commands/DeleteTableBucketCommand";
15
15
  import { DeleteTableBucketEncryptionCommandInput, DeleteTableBucketEncryptionCommandOutput } from "./commands/DeleteTableBucketEncryptionCommand";
16
+ import { DeleteTableBucketMetricsConfigurationCommandInput, DeleteTableBucketMetricsConfigurationCommandOutput } from "./commands/DeleteTableBucketMetricsConfigurationCommand";
16
17
  import { DeleteTableBucketPolicyCommandInput, DeleteTableBucketPolicyCommandOutput } from "./commands/DeleteTableBucketPolicyCommand";
17
18
  import { DeleteTableCommandInput, DeleteTableCommandOutput } from "./commands/DeleteTableCommand";
18
19
  import { DeleteTablePolicyCommandInput, DeleteTablePolicyCommandOutput } from "./commands/DeleteTablePolicyCommand";
@@ -20,6 +21,7 @@ import { GetNamespaceCommandInput, GetNamespaceCommandOutput } from "./commands/
20
21
  import { GetTableBucketCommandInput, GetTableBucketCommandOutput } from "./commands/GetTableBucketCommand";
21
22
  import { GetTableBucketEncryptionCommandInput, GetTableBucketEncryptionCommandOutput } from "./commands/GetTableBucketEncryptionCommand";
22
23
  import { GetTableBucketMaintenanceConfigurationCommandInput, GetTableBucketMaintenanceConfigurationCommandOutput } from "./commands/GetTableBucketMaintenanceConfigurationCommand";
24
+ import { GetTableBucketMetricsConfigurationCommandInput, GetTableBucketMetricsConfigurationCommandOutput } from "./commands/GetTableBucketMetricsConfigurationCommand";
23
25
  import { GetTableBucketPolicyCommandInput, GetTableBucketPolicyCommandOutput } from "./commands/GetTableBucketPolicyCommand";
24
26
  import { GetTableCommandInput, GetTableCommandOutput } from "./commands/GetTableCommand";
25
27
  import { GetTableEncryptionCommandInput, GetTableEncryptionCommandOutput } from "./commands/GetTableEncryptionCommand";
@@ -33,6 +35,7 @@ import { ListTablesCommandInput, ListTablesCommandOutput } from "./commands/List
33
35
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
34
36
  import { PutTableBucketEncryptionCommandInput, PutTableBucketEncryptionCommandOutput } from "./commands/PutTableBucketEncryptionCommand";
35
37
  import { PutTableBucketMaintenanceConfigurationCommandInput, PutTableBucketMaintenanceConfigurationCommandOutput } from "./commands/PutTableBucketMaintenanceConfigurationCommand";
38
+ import { PutTableBucketMetricsConfigurationCommandInput, PutTableBucketMetricsConfigurationCommandOutput } from "./commands/PutTableBucketMetricsConfigurationCommand";
36
39
  import { PutTableBucketPolicyCommandInput, PutTableBucketPolicyCommandOutput } from "./commands/PutTableBucketPolicyCommand";
37
40
  import { PutTableMaintenanceConfigurationCommandInput, PutTableMaintenanceConfigurationCommandOutput } from "./commands/PutTableMaintenanceConfigurationCommand";
38
41
  import { PutTablePolicyCommandInput, PutTablePolicyCommandOutput } from "./commands/PutTablePolicyCommand";
@@ -46,11 +49,11 @@ export { __Client };
46
49
  /**
47
50
  * @public
48
51
  */
49
- export type ServiceInputTypes = CreateNamespaceCommandInput | CreateTableBucketCommandInput | CreateTableCommandInput | DeleteNamespaceCommandInput | DeleteTableBucketCommandInput | DeleteTableBucketEncryptionCommandInput | DeleteTableBucketPolicyCommandInput | DeleteTableCommandInput | DeleteTablePolicyCommandInput | GetNamespaceCommandInput | GetTableBucketCommandInput | GetTableBucketEncryptionCommandInput | GetTableBucketMaintenanceConfigurationCommandInput | GetTableBucketPolicyCommandInput | GetTableCommandInput | GetTableEncryptionCommandInput | GetTableMaintenanceConfigurationCommandInput | GetTableMaintenanceJobStatusCommandInput | GetTableMetadataLocationCommandInput | GetTablePolicyCommandInput | ListNamespacesCommandInput | ListTableBucketsCommandInput | ListTablesCommandInput | ListTagsForResourceCommandInput | PutTableBucketEncryptionCommandInput | PutTableBucketMaintenanceConfigurationCommandInput | PutTableBucketPolicyCommandInput | PutTableMaintenanceConfigurationCommandInput | PutTablePolicyCommandInput | RenameTableCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateTableMetadataLocationCommandInput;
52
+ export type ServiceInputTypes = CreateNamespaceCommandInput | CreateTableBucketCommandInput | CreateTableCommandInput | DeleteNamespaceCommandInput | DeleteTableBucketCommandInput | DeleteTableBucketEncryptionCommandInput | DeleteTableBucketMetricsConfigurationCommandInput | DeleteTableBucketPolicyCommandInput | DeleteTableCommandInput | DeleteTablePolicyCommandInput | GetNamespaceCommandInput | GetTableBucketCommandInput | GetTableBucketEncryptionCommandInput | GetTableBucketMaintenanceConfigurationCommandInput | GetTableBucketMetricsConfigurationCommandInput | GetTableBucketPolicyCommandInput | GetTableCommandInput | GetTableEncryptionCommandInput | GetTableMaintenanceConfigurationCommandInput | GetTableMaintenanceJobStatusCommandInput | GetTableMetadataLocationCommandInput | GetTablePolicyCommandInput | ListNamespacesCommandInput | ListTableBucketsCommandInput | ListTablesCommandInput | ListTagsForResourceCommandInput | PutTableBucketEncryptionCommandInput | PutTableBucketMaintenanceConfigurationCommandInput | PutTableBucketMetricsConfigurationCommandInput | PutTableBucketPolicyCommandInput | PutTableMaintenanceConfigurationCommandInput | PutTablePolicyCommandInput | RenameTableCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateTableMetadataLocationCommandInput;
50
53
  /**
51
54
  * @public
52
55
  */
53
- export type ServiceOutputTypes = CreateNamespaceCommandOutput | CreateTableBucketCommandOutput | CreateTableCommandOutput | DeleteNamespaceCommandOutput | DeleteTableBucketCommandOutput | DeleteTableBucketEncryptionCommandOutput | DeleteTableBucketPolicyCommandOutput | DeleteTableCommandOutput | DeleteTablePolicyCommandOutput | GetNamespaceCommandOutput | GetTableBucketCommandOutput | GetTableBucketEncryptionCommandOutput | GetTableBucketMaintenanceConfigurationCommandOutput | GetTableBucketPolicyCommandOutput | GetTableCommandOutput | GetTableEncryptionCommandOutput | GetTableMaintenanceConfigurationCommandOutput | GetTableMaintenanceJobStatusCommandOutput | GetTableMetadataLocationCommandOutput | GetTablePolicyCommandOutput | ListNamespacesCommandOutput | ListTableBucketsCommandOutput | ListTablesCommandOutput | ListTagsForResourceCommandOutput | PutTableBucketEncryptionCommandOutput | PutTableBucketMaintenanceConfigurationCommandOutput | PutTableBucketPolicyCommandOutput | PutTableMaintenanceConfigurationCommandOutput | PutTablePolicyCommandOutput | RenameTableCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateTableMetadataLocationCommandOutput;
56
+ export type ServiceOutputTypes = CreateNamespaceCommandOutput | CreateTableBucketCommandOutput | CreateTableCommandOutput | DeleteNamespaceCommandOutput | DeleteTableBucketCommandOutput | DeleteTableBucketEncryptionCommandOutput | DeleteTableBucketMetricsConfigurationCommandOutput | DeleteTableBucketPolicyCommandOutput | DeleteTableCommandOutput | DeleteTablePolicyCommandOutput | GetNamespaceCommandOutput | GetTableBucketCommandOutput | GetTableBucketEncryptionCommandOutput | GetTableBucketMaintenanceConfigurationCommandOutput | GetTableBucketMetricsConfigurationCommandOutput | GetTableBucketPolicyCommandOutput | GetTableCommandOutput | GetTableEncryptionCommandOutput | GetTableMaintenanceConfigurationCommandOutput | GetTableMaintenanceJobStatusCommandOutput | GetTableMetadataLocationCommandOutput | GetTablePolicyCommandOutput | ListNamespacesCommandOutput | ListTableBucketsCommandOutput | ListTablesCommandOutput | ListTagsForResourceCommandOutput | PutTableBucketEncryptionCommandOutput | PutTableBucketMaintenanceConfigurationCommandOutput | PutTableBucketMetricsConfigurationCommandOutput | PutTableBucketPolicyCommandOutput | PutTableMaintenanceConfigurationCommandOutput | PutTablePolicyCommandOutput | RenameTableCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateTableMetadataLocationCommandOutput;
54
57
  /**
55
58
  * @public
56
59
  */
@@ -0,0 +1,90 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DeleteTableBucketMetricsConfigurationRequest } 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 DeleteTableBucketMetricsConfigurationCommand}.
14
+ */
15
+ export interface DeleteTableBucketMetricsConfigurationCommandInput extends DeleteTableBucketMetricsConfigurationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteTableBucketMetricsConfigurationCommand}.
21
+ */
22
+ export interface DeleteTableBucketMetricsConfigurationCommandOutput extends __MetadataBearer {
23
+ }
24
+ declare const DeleteTableBucketMetricsConfigurationCommand_base: {
25
+ new (input: DeleteTableBucketMetricsConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteTableBucketMetricsConfigurationCommandInput, DeleteTableBucketMetricsConfigurationCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteTableBucketMetricsConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteTableBucketMetricsConfigurationCommandInput, DeleteTableBucketMetricsConfigurationCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Deletes the metrics configuration for a table bucket.</p> <dl> <dt>Permissions</dt> <dd> <p>You must have the <code>s3tables:DeleteTableBucketMetricsConfiguration</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, DeleteTableBucketMetricsConfigurationCommand } from "@aws-sdk/client-s3tables"; // ES Modules import
35
+ * // const { S3TablesClient, DeleteTableBucketMetricsConfigurationCommand } = 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 = { // DeleteTableBucketMetricsConfigurationRequest
40
+ * tableBucketARN: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new DeleteTableBucketMetricsConfigurationCommand(input);
43
+ * const response = await client.send(command);
44
+ * // {};
45
+ *
46
+ * ```
47
+ *
48
+ * @param DeleteTableBucketMetricsConfigurationCommandInput - {@link DeleteTableBucketMetricsConfigurationCommandInput}
49
+ * @returns {@link DeleteTableBucketMetricsConfigurationCommandOutput}
50
+ * @see {@link DeleteTableBucketMetricsConfigurationCommandInput} for command's `input` shape.
51
+ * @see {@link DeleteTableBucketMetricsConfigurationCommandOutput} 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 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
+ *
76
+ * @public
77
+ */
78
+ export declare class DeleteTableBucketMetricsConfigurationCommand extends DeleteTableBucketMetricsConfigurationCommand_base {
79
+ /** @internal type navigation helper, not in runtime. */
80
+ protected static __types: {
81
+ api: {
82
+ input: DeleteTableBucketMetricsConfigurationRequest;
83
+ output: {};
84
+ };
85
+ sdk: {
86
+ input: DeleteTableBucketMetricsConfigurationCommandInput;
87
+ output: DeleteTableBucketMetricsConfigurationCommandOutput;
88
+ };
89
+ };
90
+ }
@@ -0,0 +1,93 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GetTableBucketMetricsConfigurationRequest, GetTableBucketMetricsConfigurationResponse } 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 GetTableBucketMetricsConfigurationCommand}.
14
+ */
15
+ export interface GetTableBucketMetricsConfigurationCommandInput extends GetTableBucketMetricsConfigurationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetTableBucketMetricsConfigurationCommand}.
21
+ */
22
+ export interface GetTableBucketMetricsConfigurationCommandOutput extends GetTableBucketMetricsConfigurationResponse, __MetadataBearer {
23
+ }
24
+ declare const GetTableBucketMetricsConfigurationCommand_base: {
25
+ new (input: GetTableBucketMetricsConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<GetTableBucketMetricsConfigurationCommandInput, GetTableBucketMetricsConfigurationCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetTableBucketMetricsConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<GetTableBucketMetricsConfigurationCommandInput, GetTableBucketMetricsConfigurationCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Gets the metrics configuration for a table bucket.</p> <dl> <dt>Permissions</dt> <dd> <p>You must have the <code>s3tables:GetTableBucketMetricsConfiguration</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, GetTableBucketMetricsConfigurationCommand } from "@aws-sdk/client-s3tables"; // ES Modules import
35
+ * // const { S3TablesClient, GetTableBucketMetricsConfigurationCommand } = 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 = { // GetTableBucketMetricsConfigurationRequest
40
+ * tableBucketARN: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new GetTableBucketMetricsConfigurationCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // GetTableBucketMetricsConfigurationResponse
45
+ * // tableBucketARN: "STRING_VALUE", // required
46
+ * // id: "STRING_VALUE",
47
+ * // };
48
+ *
49
+ * ```
50
+ *
51
+ * @param GetTableBucketMetricsConfigurationCommandInput - {@link GetTableBucketMetricsConfigurationCommandInput}
52
+ * @returns {@link GetTableBucketMetricsConfigurationCommandOutput}
53
+ * @see {@link GetTableBucketMetricsConfigurationCommandInput} for command's `input` shape.
54
+ * @see {@link GetTableBucketMetricsConfigurationCommandOutput} 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 GetTableBucketMetricsConfigurationCommand extends GetTableBucketMetricsConfigurationCommand_base {
82
+ /** @internal type navigation helper, not in runtime. */
83
+ protected static __types: {
84
+ api: {
85
+ input: GetTableBucketMetricsConfigurationRequest;
86
+ output: GetTableBucketMetricsConfigurationResponse;
87
+ };
88
+ sdk: {
89
+ input: GetTableBucketMetricsConfigurationCommandInput;
90
+ output: GetTableBucketMetricsConfigurationCommandOutput;
91
+ };
92
+ };
93
+ }
@@ -0,0 +1,90 @@
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";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link PutTableBucketMetricsConfigurationCommand}.
14
+ */
15
+ export interface PutTableBucketMetricsConfigurationCommandInput extends PutTableBucketMetricsConfigurationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link PutTableBucketMetricsConfigurationCommand}.
21
+ */
22
+ export interface PutTableBucketMetricsConfigurationCommandOutput extends __MetadataBearer {
23
+ }
24
+ declare const PutTableBucketMetricsConfigurationCommand_base: {
25
+ new (input: PutTableBucketMetricsConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<PutTableBucketMetricsConfigurationCommandInput, PutTableBucketMetricsConfigurationCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: PutTableBucketMetricsConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<PutTableBucketMetricsConfigurationCommandInput, PutTableBucketMetricsConfigurationCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Sets the metrics configuration for a table bucket.</p> <dl> <dt>Permissions</dt> <dd> <p>You must have the <code>s3tables:PutTableBucketMetricsConfiguration</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, PutTableBucketMetricsConfigurationCommand } from "@aws-sdk/client-s3tables"; // ES Modules import
35
+ * // const { S3TablesClient, PutTableBucketMetricsConfigurationCommand } = 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 = { // PutTableBucketMetricsConfigurationRequest
40
+ * tableBucketARN: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new PutTableBucketMetricsConfigurationCommand(input);
43
+ * const response = await client.send(command);
44
+ * // {};
45
+ *
46
+ * ```
47
+ *
48
+ * @param PutTableBucketMetricsConfigurationCommandInput - {@link PutTableBucketMetricsConfigurationCommandInput}
49
+ * @returns {@link PutTableBucketMetricsConfigurationCommandOutput}
50
+ * @see {@link PutTableBucketMetricsConfigurationCommandInput} for command's `input` shape.
51
+ * @see {@link PutTableBucketMetricsConfigurationCommandOutput} 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 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
+ *
76
+ * @public
77
+ */
78
+ export declare class PutTableBucketMetricsConfigurationCommand extends PutTableBucketMetricsConfigurationCommand_base {
79
+ /** @internal type navigation helper, not in runtime. */
80
+ protected static __types: {
81
+ api: {
82
+ input: PutTableBucketMetricsConfigurationRequest;
83
+ output: {};
84
+ };
85
+ sdk: {
86
+ input: PutTableBucketMetricsConfigurationCommandInput;
87
+ output: PutTableBucketMetricsConfigurationCommandOutput;
88
+ };
89
+ };
90
+ }
@@ -4,6 +4,7 @@ export * from "./CreateTableCommand";
4
4
  export * from "./DeleteNamespaceCommand";
5
5
  export * from "./DeleteTableBucketCommand";
6
6
  export * from "./DeleteTableBucketEncryptionCommand";
7
+ export * from "./DeleteTableBucketMetricsConfigurationCommand";
7
8
  export * from "./DeleteTableBucketPolicyCommand";
8
9
  export * from "./DeleteTableCommand";
9
10
  export * from "./DeleteTablePolicyCommand";
@@ -11,6 +12,7 @@ export * from "./GetNamespaceCommand";
11
12
  export * from "./GetTableBucketCommand";
12
13
  export * from "./GetTableBucketEncryptionCommand";
13
14
  export * from "./GetTableBucketMaintenanceConfigurationCommand";
15
+ export * from "./GetTableBucketMetricsConfigurationCommand";
14
16
  export * from "./GetTableBucketPolicyCommand";
15
17
  export * from "./GetTableCommand";
16
18
  export * from "./GetTableEncryptionCommand";
@@ -24,6 +26,7 @@ export * from "./ListTablesCommand";
24
26
  export * from "./ListTagsForResourceCommand";
25
27
  export * from "./PutTableBucketEncryptionCommand";
26
28
  export * from "./PutTableBucketMaintenanceConfigurationCommand";
29
+ export * from "./PutTableBucketMetricsConfigurationCommand";
27
30
  export * from "./PutTableBucketPolicyCommand";
28
31
  export * from "./PutTableMaintenanceConfigurationCommand";
29
32
  export * from "./PutTablePolicyCommand";
@@ -220,11 +220,14 @@ export declare namespace TableMetadata {
220
220
  iceberg?: never;
221
221
  $unknown: [string, any];
222
222
  }
223
+ /**
224
+ * @deprecated unused in schema-serde mode.
225
+ *
226
+ */
223
227
  interface Visitor<T> {
224
228
  iceberg: (value: IcebergMetadata) => T;
225
229
  _: (name: string, value: any) => T;
226
230
  }
227
- const visit: <T>(value: TableMetadata, visitor: Visitor<T>) => T;
228
231
  }
229
232
  /**
230
233
  * @public
@@ -371,6 +374,16 @@ export interface DeleteTableBucketEncryptionRequest {
371
374
  */
372
375
  tableBucketARN: string | undefined;
373
376
  }
377
+ /**
378
+ * @public
379
+ */
380
+ export interface DeleteTableBucketMetricsConfigurationRequest {
381
+ /**
382
+ * <p>The Amazon Resource Name (ARN) of the table bucket.</p>
383
+ * @public
384
+ */
385
+ tableBucketARN: string | undefined;
386
+ }
374
387
  /**
375
388
  * @public
376
389
  */
@@ -711,11 +724,14 @@ export declare namespace TableBucketMaintenanceSettings {
711
724
  icebergUnreferencedFileRemoval?: never;
712
725
  $unknown: [string, any];
713
726
  }
727
+ /**
728
+ * @deprecated unused in schema-serde mode.
729
+ *
730
+ */
714
731
  interface Visitor<T> {
715
732
  icebergUnreferencedFileRemoval: (value: IcebergUnreferencedFileRemovalSettings) => T;
716
733
  _: (name: string, value: any) => T;
717
734
  }
718
- const visit: <T>(value: TableBucketMaintenanceSettings, visitor: Visitor<T>) => T;
719
735
  }
720
736
  /**
721
737
  * @public
@@ -760,6 +776,31 @@ export interface GetTableBucketMaintenanceConfigurationResponse {
760
776
  */
761
777
  configuration: Partial<Record<TableBucketMaintenanceType, TableBucketMaintenanceConfigurationValue>> | undefined;
762
778
  }
779
+ /**
780
+ * @public
781
+ */
782
+ export interface GetTableBucketMetricsConfigurationRequest {
783
+ /**
784
+ * <p>The Amazon Resource Name (ARN) of the table bucket.</p>
785
+ * @public
786
+ */
787
+ tableBucketARN: string | undefined;
788
+ }
789
+ /**
790
+ * @public
791
+ */
792
+ export interface GetTableBucketMetricsConfigurationResponse {
793
+ /**
794
+ * <p>The Amazon Resource Name (ARN) of the table bucket.</p>
795
+ * @public
796
+ */
797
+ tableBucketARN: string | undefined;
798
+ /**
799
+ * <p>The unique identifier of the metrics configuration.</p>
800
+ * @public
801
+ */
802
+ id?: string | undefined;
803
+ }
763
804
  /**
764
805
  * @public
765
806
  */
@@ -923,12 +964,15 @@ export declare namespace TableMaintenanceSettings {
923
964
  icebergSnapshotManagement?: never;
924
965
  $unknown: [string, any];
925
966
  }
967
+ /**
968
+ * @deprecated unused in schema-serde mode.
969
+ *
970
+ */
926
971
  interface Visitor<T> {
927
972
  icebergCompaction: (value: IcebergCompactionSettings) => T;
928
973
  icebergSnapshotManagement: (value: IcebergSnapshotManagementSettings) => T;
929
974
  _: (name: string, value: any) => T;
930
975
  }
931
- const visit: <T>(value: TableMaintenanceSettings, visitor: Visitor<T>) => T;
932
976
  }
933
977
  /**
934
978
  * <p>Contains the values that define a maintenance configuration for a table.</p>
@@ -1412,6 +1456,16 @@ export interface PutTableBucketMaintenanceConfigurationRequest {
1412
1456
  */
1413
1457
  value: TableBucketMaintenanceConfigurationValue | undefined;
1414
1458
  }
1459
+ /**
1460
+ * @public
1461
+ */
1462
+ export interface PutTableBucketMetricsConfigurationRequest {
1463
+ /**
1464
+ * <p>The Amazon Resource Name (ARN) of the table bucket.</p>
1465
+ * @public
1466
+ */
1467
+ tableBucketARN: string | undefined;
1468
+ }
1415
1469
  /**
1416
1470
  * @public
1417
1471
  */
@@ -10,6 +10,7 @@ export declare var CreateTableRequest: StaticStructureSchema;
10
10
  export declare var CreateTableResponse: StaticStructureSchema;
11
11
  export declare var DeleteNamespaceRequest: StaticStructureSchema;
12
12
  export declare var DeleteTableBucketEncryptionRequest: StaticStructureSchema;
13
+ export declare var DeleteTableBucketMetricsConfigurationRequest: StaticStructureSchema;
13
14
  export declare var DeleteTableBucketPolicyRequest: StaticStructureSchema;
14
15
  export declare var DeleteTableBucketRequest: StaticStructureSchema;
15
16
  export declare var DeleteTablePolicyRequest: StaticStructureSchema;
@@ -22,6 +23,8 @@ export declare var GetTableBucketEncryptionRequest: StaticStructureSchema;
22
23
  export declare var GetTableBucketEncryptionResponse: StaticStructureSchema;
23
24
  export declare var GetTableBucketMaintenanceConfigurationRequest: StaticStructureSchema;
24
25
  export declare var GetTableBucketMaintenanceConfigurationResponse: StaticStructureSchema;
26
+ export declare var GetTableBucketMetricsConfigurationRequest: StaticStructureSchema;
27
+ export declare var GetTableBucketMetricsConfigurationResponse: StaticStructureSchema;
25
28
  export declare var GetTableBucketPolicyRequest: StaticStructureSchema;
26
29
  export declare var GetTableBucketPolicyResponse: StaticStructureSchema;
27
30
  export declare var GetTableBucketRequest: StaticStructureSchema;
@@ -56,6 +59,7 @@ export declare var NamespaceSummary: StaticStructureSchema;
56
59
  export declare var NotFoundException: StaticErrorSchema;
57
60
  export declare var PutTableBucketEncryptionRequest: StaticStructureSchema;
58
61
  export declare var PutTableBucketMaintenanceConfigurationRequest: StaticStructureSchema;
62
+ export declare var PutTableBucketMetricsConfigurationRequest: StaticStructureSchema;
59
63
  export declare var PutTableBucketPolicyRequest: StaticStructureSchema;
60
64
  export declare var PutTableMaintenanceConfigurationRequest: StaticStructureSchema;
61
65
  export declare var PutTablePolicyRequest: StaticStructureSchema;
@@ -95,6 +99,7 @@ export declare var DeleteNamespace: StaticOperationSchema;
95
99
  export declare var DeleteTable: StaticOperationSchema;
96
100
  export declare var DeleteTableBucket: StaticOperationSchema;
97
101
  export declare var DeleteTableBucketEncryption: StaticOperationSchema;
102
+ export declare var DeleteTableBucketMetricsConfiguration: StaticOperationSchema;
98
103
  export declare var DeleteTableBucketPolicy: StaticOperationSchema;
99
104
  export declare var DeleteTablePolicy: StaticOperationSchema;
100
105
  export declare var GetNamespace: StaticOperationSchema;
@@ -102,6 +107,7 @@ export declare var GetTable: StaticOperationSchema;
102
107
  export declare var GetTableBucket: StaticOperationSchema;
103
108
  export declare var GetTableBucketEncryption: StaticOperationSchema;
104
109
  export declare var GetTableBucketMaintenanceConfiguration: StaticOperationSchema;
110
+ export declare var GetTableBucketMetricsConfiguration: StaticOperationSchema;
105
111
  export declare var GetTableBucketPolicy: StaticOperationSchema;
106
112
  export declare var GetTableEncryption: StaticOperationSchema;
107
113
  export declare var GetTableMaintenanceConfiguration: StaticOperationSchema;
@@ -114,6 +120,7 @@ export declare var ListTables: StaticOperationSchema;
114
120
  export declare var ListTagsForResource: StaticOperationSchema;
115
121
  export declare var PutTableBucketEncryption: StaticOperationSchema;
116
122
  export declare var PutTableBucketMaintenanceConfiguration: StaticOperationSchema;
123
+ export declare var PutTableBucketMetricsConfiguration: StaticOperationSchema;
117
124
  export declare var PutTableBucketPolicy: StaticOperationSchema;
118
125
  export declare var PutTableMaintenanceConfiguration: StaticOperationSchema;
119
126
  export declare var PutTablePolicy: StaticOperationSchema;