@aws-sdk/client-s3tables 3.705.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +413 -0
- package/dist-cjs/S3Tables.js +63 -0
- package/dist-cjs/S3TablesClient.js +50 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/CreateNamespaceCommand.js +26 -0
- package/dist-cjs/commands/CreateTableBucketCommand.js +26 -0
- package/dist-cjs/commands/CreateTableCommand.js +26 -0
- package/dist-cjs/commands/DeleteNamespaceCommand.js +26 -0
- package/dist-cjs/commands/DeleteTableBucketCommand.js +26 -0
- package/dist-cjs/commands/DeleteTableBucketPolicyCommand.js +26 -0
- package/dist-cjs/commands/DeleteTableCommand.js +26 -0
- package/dist-cjs/commands/DeleteTablePolicyCommand.js +26 -0
- package/dist-cjs/commands/GetNamespaceCommand.js +26 -0
- package/dist-cjs/commands/GetTableBucketCommand.js +26 -0
- package/dist-cjs/commands/GetTableBucketMaintenanceConfigurationCommand.js +26 -0
- package/dist-cjs/commands/GetTableBucketPolicyCommand.js +26 -0
- package/dist-cjs/commands/GetTableCommand.js +26 -0
- package/dist-cjs/commands/GetTableMaintenanceConfigurationCommand.js +26 -0
- package/dist-cjs/commands/GetTableMaintenanceJobStatusCommand.js +26 -0
- package/dist-cjs/commands/GetTableMetadataLocationCommand.js +26 -0
- package/dist-cjs/commands/GetTablePolicyCommand.js +26 -0
- package/dist-cjs/commands/ListNamespacesCommand.js +26 -0
- package/dist-cjs/commands/ListTableBucketsCommand.js +26 -0
- package/dist-cjs/commands/ListTablesCommand.js +26 -0
- package/dist-cjs/commands/PutTableBucketMaintenanceConfigurationCommand.js +26 -0
- package/dist-cjs/commands/PutTableBucketPolicyCommand.js +26 -0
- package/dist-cjs/commands/PutTableMaintenanceConfigurationCommand.js +26 -0
- package/dist-cjs/commands/PutTablePolicyCommand.js +26 -0
- package/dist-cjs/commands/RenameTableCommand.js +26 -0
- package/dist-cjs/commands/UpdateTableMetadataLocationCommand.js +26 -0
- package/dist-cjs/commands/index.js +29 -0
- package/dist-cjs/endpoint/EndpointParameters.js +18 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/S3TablesServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +142 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListNamespacesPaginator.js +7 -0
- package/dist-cjs/pagination/ListTableBucketsPaginator.js +7 -0
- package/dist-cjs/pagination/ListTablesPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +7 -0
- package/dist-cjs/protocols/Aws_restJson1.js +954 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +50 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +34 -0
- package/dist-cjs/runtimeExtensions.js +25 -0
- package/dist-es/S3Tables.js +59 -0
- package/dist-es/S3TablesClient.js +46 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/CreateNamespaceCommand.js +22 -0
- package/dist-es/commands/CreateTableBucketCommand.js +22 -0
- package/dist-es/commands/CreateTableCommand.js +22 -0
- package/dist-es/commands/DeleteNamespaceCommand.js +22 -0
- package/dist-es/commands/DeleteTableBucketCommand.js +22 -0
- package/dist-es/commands/DeleteTableBucketPolicyCommand.js +22 -0
- package/dist-es/commands/DeleteTableCommand.js +22 -0
- package/dist-es/commands/DeleteTablePolicyCommand.js +22 -0
- package/dist-es/commands/GetNamespaceCommand.js +22 -0
- package/dist-es/commands/GetTableBucketCommand.js +22 -0
- package/dist-es/commands/GetTableBucketMaintenanceConfigurationCommand.js +22 -0
- package/dist-es/commands/GetTableBucketPolicyCommand.js +22 -0
- package/dist-es/commands/GetTableCommand.js +22 -0
- package/dist-es/commands/GetTableMaintenanceConfigurationCommand.js +22 -0
- package/dist-es/commands/GetTableMaintenanceJobStatusCommand.js +22 -0
- package/dist-es/commands/GetTableMetadataLocationCommand.js +22 -0
- package/dist-es/commands/GetTablePolicyCommand.js +22 -0
- package/dist-es/commands/ListNamespacesCommand.js +22 -0
- package/dist-es/commands/ListTableBucketsCommand.js +22 -0
- package/dist-es/commands/ListTablesCommand.js +22 -0
- package/dist-es/commands/PutTableBucketMaintenanceConfigurationCommand.js +22 -0
- package/dist-es/commands/PutTableBucketPolicyCommand.js +22 -0
- package/dist-es/commands/PutTableMaintenanceConfigurationCommand.js +22 -0
- package/dist-es/commands/PutTablePolicyCommand.js +22 -0
- package/dist-es/commands/RenameTableCommand.js +22 -0
- package/dist-es/commands/UpdateTableMetadataLocationCommand.js +22 -0
- package/dist-es/commands/index.js +26 -0
- package/dist-es/endpoint/EndpointParameters.js +14 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/S3TablesServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +132 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListNamespacesPaginator.js +4 -0
- package/dist-es/pagination/ListTableBucketsPaginator.js +4 -0
- package/dist-es/pagination/ListTablesPaginator.js +4 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +898 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +45 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +30 -0
- package/dist-es/runtimeExtensions.js +21 -0
- package/dist-types/S3Tables.d.ts +193 -0
- package/dist-types/S3TablesClient.d.ts +195 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/dist-types/commands/CreateNamespaceCommand.d.ts +96 -0
- package/dist-types/commands/CreateTableBucketCommand.d.ts +90 -0
- package/dist-types/commands/CreateTableCommand.d.ts +94 -0
- package/dist-types/commands/DeleteNamespaceCommand.d.ts +89 -0
- package/dist-types/commands/DeleteTableBucketCommand.d.ts +88 -0
- package/dist-types/commands/DeleteTableBucketPolicyCommand.d.ts +88 -0
- package/dist-types/commands/DeleteTableCommand.d.ts +91 -0
- package/dist-types/commands/DeleteTablePolicyCommand.d.ts +90 -0
- package/dist-types/commands/GetNamespaceCommand.d.ts +99 -0
- package/dist-types/commands/GetTableBucketCommand.d.ts +96 -0
- package/dist-types/commands/GetTableBucketMaintenanceConfigurationCommand.d.ts +101 -0
- package/dist-types/commands/GetTableBucketPolicyCommand.d.ts +90 -0
- package/dist-types/commands/GetTableCommand.d.ts +110 -0
- package/dist-types/commands/GetTableMaintenanceConfigurationCommand.d.ts +106 -0
- package/dist-types/commands/GetTableMaintenanceJobStatusCommand.d.ts +99 -0
- package/dist-types/commands/GetTableMetadataLocationCommand.d.ts +94 -0
- package/dist-types/commands/GetTablePolicyCommand.d.ts +92 -0
- package/dist-types/commands/ListNamespacesCommand.d.ts +106 -0
- package/dist-types/commands/ListTableBucketsCommand.d.ts +103 -0
- package/dist-types/commands/ListTablesCommand.d.ts +106 -0
- package/dist-types/commands/PutTableBucketMaintenanceConfigurationCommand.d.ts +99 -0
- package/dist-types/commands/PutTableBucketPolicyCommand.d.ts +90 -0
- package/dist-types/commands/PutTableMaintenanceConfigurationCommand.d.ts +104 -0
- package/dist-types/commands/PutTablePolicyCommand.d.ts +92 -0
- package/dist-types/commands/RenameTableCommand.d.ts +93 -0
- package/dist-types/commands/UpdateTableMetadataLocationCommand.d.ts +100 -0
- package/dist-types/commands/index.d.ts +26 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +14 -0
- package/dist-types/models/S3TablesServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1280 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListNamespacesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListTableBucketsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListTablesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +236 -0
- package/dist-types/runtimeConfig.browser.d.ts +48 -0
- package/dist-types/runtimeConfig.d.ts +48 -0
- package/dist-types/runtimeConfig.native.d.ts +47 -0
- package/dist-types/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/S3Tables.d.ts +460 -0
- package/dist-types/ts3.4/S3TablesClient.d.ts +274 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
- package/dist-types/ts3.4/commands/CreateNamespaceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateTableBucketCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateTableCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteNamespaceCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/DeleteTableBucketCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/DeleteTableBucketPolicyCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteTableCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/DeleteTablePolicyCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/GetNamespaceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetTableBucketCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetTableBucketMaintenanceConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetTableBucketPolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetTableCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetTableMaintenanceConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetTableMaintenanceJobStatusCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetTableMetadataLocationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetTablePolicyCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListNamespacesCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListTableBucketsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/PutTableBucketMaintenanceConfigurationCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/PutTableBucketPolicyCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/PutTableMaintenanceConfigurationCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/PutTablePolicyCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/RenameTableCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/UpdateTableMetadataLocationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +26 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +9 -0
- package/dist-types/ts3.4/models/S3TablesServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +399 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListNamespacesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListTableBucketsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListTablesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +317 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +94 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +87 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/package.json +101 -0
|
@@ -0,0 +1,399 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { S3TablesServiceException as __BaseException } from "./S3TablesServiceException";
|
|
3
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
4
|
+
readonly name: "AccessDeniedException";
|
|
5
|
+
readonly $fault: "client";
|
|
6
|
+
constructor(
|
|
7
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
8
|
+
);
|
|
9
|
+
}
|
|
10
|
+
export declare class BadRequestException extends __BaseException {
|
|
11
|
+
readonly name: "BadRequestException";
|
|
12
|
+
readonly $fault: "client";
|
|
13
|
+
constructor(
|
|
14
|
+
opts: __ExceptionOptionType<BadRequestException, __BaseException>
|
|
15
|
+
);
|
|
16
|
+
}
|
|
17
|
+
export declare class ConflictException extends __BaseException {
|
|
18
|
+
readonly name: "ConflictException";
|
|
19
|
+
readonly $fault: "client";
|
|
20
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
21
|
+
}
|
|
22
|
+
export interface CreateNamespaceRequest {
|
|
23
|
+
tableBucketARN: string | undefined;
|
|
24
|
+
namespace: string[] | undefined;
|
|
25
|
+
}
|
|
26
|
+
export interface CreateNamespaceResponse {
|
|
27
|
+
tableBucketARN: string | undefined;
|
|
28
|
+
namespace: string[] | undefined;
|
|
29
|
+
}
|
|
30
|
+
export declare class ForbiddenException extends __BaseException {
|
|
31
|
+
readonly name: "ForbiddenException";
|
|
32
|
+
readonly $fault: "client";
|
|
33
|
+
constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
|
|
34
|
+
}
|
|
35
|
+
export declare class InternalServerErrorException extends __BaseException {
|
|
36
|
+
readonly name: "InternalServerErrorException";
|
|
37
|
+
readonly $fault: "server";
|
|
38
|
+
constructor(
|
|
39
|
+
opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>
|
|
40
|
+
);
|
|
41
|
+
}
|
|
42
|
+
export declare class NotFoundException extends __BaseException {
|
|
43
|
+
readonly name: "NotFoundException";
|
|
44
|
+
readonly $fault: "client";
|
|
45
|
+
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
46
|
+
}
|
|
47
|
+
export declare class TooManyRequestsException extends __BaseException {
|
|
48
|
+
readonly name: "TooManyRequestsException";
|
|
49
|
+
readonly $fault: "client";
|
|
50
|
+
constructor(
|
|
51
|
+
opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
|
|
52
|
+
);
|
|
53
|
+
}
|
|
54
|
+
export declare const OpenTableFormat: {
|
|
55
|
+
readonly ICEBERG: "ICEBERG";
|
|
56
|
+
};
|
|
57
|
+
export type OpenTableFormat =
|
|
58
|
+
(typeof OpenTableFormat)[keyof typeof OpenTableFormat];
|
|
59
|
+
export interface CreateTableRequest {
|
|
60
|
+
tableBucketARN: string | undefined;
|
|
61
|
+
namespace: string | undefined;
|
|
62
|
+
name: string | undefined;
|
|
63
|
+
format: OpenTableFormat | undefined;
|
|
64
|
+
}
|
|
65
|
+
export interface CreateTableResponse {
|
|
66
|
+
tableARN: string | undefined;
|
|
67
|
+
versionToken: string | undefined;
|
|
68
|
+
}
|
|
69
|
+
export interface CreateTableBucketRequest {
|
|
70
|
+
name: string | undefined;
|
|
71
|
+
}
|
|
72
|
+
export interface CreateTableBucketResponse {
|
|
73
|
+
arn: string | undefined;
|
|
74
|
+
}
|
|
75
|
+
export interface DeleteNamespaceRequest {
|
|
76
|
+
tableBucketARN: string | undefined;
|
|
77
|
+
namespace: string | undefined;
|
|
78
|
+
}
|
|
79
|
+
export interface DeleteTableRequest {
|
|
80
|
+
tableBucketARN: string | undefined;
|
|
81
|
+
namespace: string | undefined;
|
|
82
|
+
name: string | undefined;
|
|
83
|
+
versionToken?: string | undefined;
|
|
84
|
+
}
|
|
85
|
+
export interface DeleteTableBucketRequest {
|
|
86
|
+
tableBucketARN: string | undefined;
|
|
87
|
+
}
|
|
88
|
+
export interface DeleteTableBucketPolicyRequest {
|
|
89
|
+
tableBucketARN: string | undefined;
|
|
90
|
+
}
|
|
91
|
+
export interface DeleteTablePolicyRequest {
|
|
92
|
+
tableBucketARN: string | undefined;
|
|
93
|
+
namespace: string | undefined;
|
|
94
|
+
name: string | undefined;
|
|
95
|
+
}
|
|
96
|
+
export interface GetNamespaceRequest {
|
|
97
|
+
tableBucketARN: string | undefined;
|
|
98
|
+
namespace: string | undefined;
|
|
99
|
+
}
|
|
100
|
+
export interface GetNamespaceResponse {
|
|
101
|
+
namespace: string[] | undefined;
|
|
102
|
+
createdAt: Date | undefined;
|
|
103
|
+
createdBy: string | undefined;
|
|
104
|
+
ownerAccountId: string | undefined;
|
|
105
|
+
}
|
|
106
|
+
export interface GetTableRequest {
|
|
107
|
+
tableBucketARN: string | undefined;
|
|
108
|
+
namespace: string | undefined;
|
|
109
|
+
name: string | undefined;
|
|
110
|
+
}
|
|
111
|
+
export declare const TableType: {
|
|
112
|
+
readonly AWS: "aws";
|
|
113
|
+
readonly CUSTOMER: "customer";
|
|
114
|
+
};
|
|
115
|
+
export type TableType = (typeof TableType)[keyof typeof TableType];
|
|
116
|
+
export interface GetTableResponse {
|
|
117
|
+
name: string | undefined;
|
|
118
|
+
type: TableType | undefined;
|
|
119
|
+
tableARN: string | undefined;
|
|
120
|
+
namespace: string[] | undefined;
|
|
121
|
+
versionToken: string | undefined;
|
|
122
|
+
metadataLocation?: string | undefined;
|
|
123
|
+
warehouseLocation: string | undefined;
|
|
124
|
+
createdAt: Date | undefined;
|
|
125
|
+
createdBy: string | undefined;
|
|
126
|
+
managedByService?: string | undefined;
|
|
127
|
+
modifiedAt: Date | undefined;
|
|
128
|
+
modifiedBy: string | undefined;
|
|
129
|
+
ownerAccountId: string | undefined;
|
|
130
|
+
format: OpenTableFormat | undefined;
|
|
131
|
+
}
|
|
132
|
+
export interface GetTableBucketRequest {
|
|
133
|
+
tableBucketARN: string | undefined;
|
|
134
|
+
}
|
|
135
|
+
export interface GetTableBucketResponse {
|
|
136
|
+
arn: string | undefined;
|
|
137
|
+
name: string | undefined;
|
|
138
|
+
ownerAccountId: string | undefined;
|
|
139
|
+
createdAt: Date | undefined;
|
|
140
|
+
}
|
|
141
|
+
export interface GetTableBucketMaintenanceConfigurationRequest {
|
|
142
|
+
tableBucketARN: string | undefined;
|
|
143
|
+
}
|
|
144
|
+
export declare const TableBucketMaintenanceType: {
|
|
145
|
+
readonly ICEBERG_UNREFERENCED_FILE_REMOVAL: "icebergUnreferencedFileRemoval";
|
|
146
|
+
};
|
|
147
|
+
export type TableBucketMaintenanceType =
|
|
148
|
+
(typeof TableBucketMaintenanceType)[keyof typeof TableBucketMaintenanceType];
|
|
149
|
+
export interface IcebergUnreferencedFileRemovalSettings {
|
|
150
|
+
unreferencedDays?: number | undefined;
|
|
151
|
+
nonCurrentDays?: number | undefined;
|
|
152
|
+
}
|
|
153
|
+
export type TableBucketMaintenanceSettings =
|
|
154
|
+
| TableBucketMaintenanceSettings.IcebergUnreferencedFileRemovalMember
|
|
155
|
+
| TableBucketMaintenanceSettings.$UnknownMember;
|
|
156
|
+
export declare namespace TableBucketMaintenanceSettings {
|
|
157
|
+
interface IcebergUnreferencedFileRemovalMember {
|
|
158
|
+
icebergUnreferencedFileRemoval: IcebergUnreferencedFileRemovalSettings;
|
|
159
|
+
$unknown?: never;
|
|
160
|
+
}
|
|
161
|
+
interface $UnknownMember {
|
|
162
|
+
icebergUnreferencedFileRemoval?: never;
|
|
163
|
+
$unknown: [string, any];
|
|
164
|
+
}
|
|
165
|
+
interface Visitor<T> {
|
|
166
|
+
icebergUnreferencedFileRemoval: (
|
|
167
|
+
value: IcebergUnreferencedFileRemovalSettings
|
|
168
|
+
) => T;
|
|
169
|
+
_: (name: string, value: any) => T;
|
|
170
|
+
}
|
|
171
|
+
const visit: <T>(
|
|
172
|
+
value: TableBucketMaintenanceSettings,
|
|
173
|
+
visitor: Visitor<T>
|
|
174
|
+
) => T;
|
|
175
|
+
}
|
|
176
|
+
export declare const MaintenanceStatus: {
|
|
177
|
+
readonly DISABLED: "disabled";
|
|
178
|
+
readonly ENABLED: "enabled";
|
|
179
|
+
};
|
|
180
|
+
export type MaintenanceStatus =
|
|
181
|
+
(typeof MaintenanceStatus)[keyof typeof MaintenanceStatus];
|
|
182
|
+
export interface TableBucketMaintenanceConfigurationValue {
|
|
183
|
+
status?: MaintenanceStatus | undefined;
|
|
184
|
+
settings?: TableBucketMaintenanceSettings | undefined;
|
|
185
|
+
}
|
|
186
|
+
export interface GetTableBucketMaintenanceConfigurationResponse {
|
|
187
|
+
tableBucketARN: string | undefined;
|
|
188
|
+
configuration:
|
|
189
|
+
| Partial<
|
|
190
|
+
Record<
|
|
191
|
+
TableBucketMaintenanceType,
|
|
192
|
+
TableBucketMaintenanceConfigurationValue
|
|
193
|
+
>
|
|
194
|
+
>
|
|
195
|
+
| undefined;
|
|
196
|
+
}
|
|
197
|
+
export interface GetTableBucketPolicyRequest {
|
|
198
|
+
tableBucketARN: string | undefined;
|
|
199
|
+
}
|
|
200
|
+
export interface GetTableBucketPolicyResponse {
|
|
201
|
+
resourcePolicy: string | undefined;
|
|
202
|
+
}
|
|
203
|
+
export interface GetTableMaintenanceConfigurationRequest {
|
|
204
|
+
tableBucketARN: string | undefined;
|
|
205
|
+
namespace: string | undefined;
|
|
206
|
+
name: string | undefined;
|
|
207
|
+
}
|
|
208
|
+
export declare const TableMaintenanceType: {
|
|
209
|
+
readonly ICEBERG_COMPACTION: "icebergCompaction";
|
|
210
|
+
readonly ICEBERG_SNAPSHOT_MANAGEMENT: "icebergSnapshotManagement";
|
|
211
|
+
};
|
|
212
|
+
export type TableMaintenanceType =
|
|
213
|
+
(typeof TableMaintenanceType)[keyof typeof TableMaintenanceType];
|
|
214
|
+
export interface IcebergCompactionSettings {
|
|
215
|
+
targetFileSizeMB?: number | undefined;
|
|
216
|
+
}
|
|
217
|
+
export interface IcebergSnapshotManagementSettings {
|
|
218
|
+
minSnapshotsToKeep?: number | undefined;
|
|
219
|
+
maxSnapshotAgeHours?: number | undefined;
|
|
220
|
+
}
|
|
221
|
+
export type TableMaintenanceSettings =
|
|
222
|
+
| TableMaintenanceSettings.IcebergCompactionMember
|
|
223
|
+
| TableMaintenanceSettings.IcebergSnapshotManagementMember
|
|
224
|
+
| TableMaintenanceSettings.$UnknownMember;
|
|
225
|
+
export declare namespace TableMaintenanceSettings {
|
|
226
|
+
interface IcebergCompactionMember {
|
|
227
|
+
icebergCompaction: IcebergCompactionSettings;
|
|
228
|
+
icebergSnapshotManagement?: never;
|
|
229
|
+
$unknown?: never;
|
|
230
|
+
}
|
|
231
|
+
interface IcebergSnapshotManagementMember {
|
|
232
|
+
icebergCompaction?: never;
|
|
233
|
+
icebergSnapshotManagement: IcebergSnapshotManagementSettings;
|
|
234
|
+
$unknown?: never;
|
|
235
|
+
}
|
|
236
|
+
interface $UnknownMember {
|
|
237
|
+
icebergCompaction?: never;
|
|
238
|
+
icebergSnapshotManagement?: never;
|
|
239
|
+
$unknown: [string, any];
|
|
240
|
+
}
|
|
241
|
+
interface Visitor<T> {
|
|
242
|
+
icebergCompaction: (value: IcebergCompactionSettings) => T;
|
|
243
|
+
icebergSnapshotManagement: (value: IcebergSnapshotManagementSettings) => T;
|
|
244
|
+
_: (name: string, value: any) => T;
|
|
245
|
+
}
|
|
246
|
+
const visit: <T>(value: TableMaintenanceSettings, visitor: Visitor<T>) => T;
|
|
247
|
+
}
|
|
248
|
+
export interface TableMaintenanceConfigurationValue {
|
|
249
|
+
status?: MaintenanceStatus | undefined;
|
|
250
|
+
settings?: TableMaintenanceSettings | undefined;
|
|
251
|
+
}
|
|
252
|
+
export interface GetTableMaintenanceConfigurationResponse {
|
|
253
|
+
tableARN: string | undefined;
|
|
254
|
+
configuration:
|
|
255
|
+
| Partial<Record<TableMaintenanceType, TableMaintenanceConfigurationValue>>
|
|
256
|
+
| undefined;
|
|
257
|
+
}
|
|
258
|
+
export interface GetTableMaintenanceJobStatusRequest {
|
|
259
|
+
tableBucketARN: string | undefined;
|
|
260
|
+
namespace: string | undefined;
|
|
261
|
+
name: string | undefined;
|
|
262
|
+
}
|
|
263
|
+
export declare const TableMaintenanceJobType: {
|
|
264
|
+
readonly ICEBERG_COMPACTION: "icebergCompaction";
|
|
265
|
+
readonly ICEBERG_SNAPSHOT_MANAGEMENT: "icebergSnapshotManagement";
|
|
266
|
+
readonly ICEBERG_UNREFERENCED_FILE_REMOVAL: "icebergUnreferencedFileRemoval";
|
|
267
|
+
};
|
|
268
|
+
export type TableMaintenanceJobType =
|
|
269
|
+
(typeof TableMaintenanceJobType)[keyof typeof TableMaintenanceJobType];
|
|
270
|
+
export declare const JobStatus: {
|
|
271
|
+
readonly DISABLED: "Disabled";
|
|
272
|
+
readonly FAILED: "Failed";
|
|
273
|
+
readonly NOT_YET_RUN: "Not_Yet_Run";
|
|
274
|
+
readonly SUCCESSFUL: "Successful";
|
|
275
|
+
};
|
|
276
|
+
export type JobStatus = (typeof JobStatus)[keyof typeof JobStatus];
|
|
277
|
+
export interface TableMaintenanceJobStatusValue {
|
|
278
|
+
status: JobStatus | undefined;
|
|
279
|
+
lastRunTimestamp?: Date | undefined;
|
|
280
|
+
failureMessage?: string | undefined;
|
|
281
|
+
}
|
|
282
|
+
export interface GetTableMaintenanceJobStatusResponse {
|
|
283
|
+
tableARN: string | undefined;
|
|
284
|
+
status:
|
|
285
|
+
| Partial<Record<TableMaintenanceJobType, TableMaintenanceJobStatusValue>>
|
|
286
|
+
| undefined;
|
|
287
|
+
}
|
|
288
|
+
export interface GetTableMetadataLocationRequest {
|
|
289
|
+
tableBucketARN: string | undefined;
|
|
290
|
+
namespace: string | undefined;
|
|
291
|
+
name: string | undefined;
|
|
292
|
+
}
|
|
293
|
+
export interface GetTableMetadataLocationResponse {
|
|
294
|
+
versionToken: string | undefined;
|
|
295
|
+
metadataLocation?: string | undefined;
|
|
296
|
+
warehouseLocation: string | undefined;
|
|
297
|
+
}
|
|
298
|
+
export interface GetTablePolicyRequest {
|
|
299
|
+
tableBucketARN: string | undefined;
|
|
300
|
+
namespace: string | undefined;
|
|
301
|
+
name: string | undefined;
|
|
302
|
+
}
|
|
303
|
+
export interface GetTablePolicyResponse {
|
|
304
|
+
resourcePolicy: string | undefined;
|
|
305
|
+
}
|
|
306
|
+
export interface ListNamespacesRequest {
|
|
307
|
+
tableBucketARN: string | undefined;
|
|
308
|
+
prefix?: string | undefined;
|
|
309
|
+
continuationToken?: string | undefined;
|
|
310
|
+
maxNamespaces?: number | undefined;
|
|
311
|
+
}
|
|
312
|
+
export interface NamespaceSummary {
|
|
313
|
+
namespace: string[] | undefined;
|
|
314
|
+
createdAt: Date | undefined;
|
|
315
|
+
createdBy: string | undefined;
|
|
316
|
+
ownerAccountId: string | undefined;
|
|
317
|
+
}
|
|
318
|
+
export interface ListNamespacesResponse {
|
|
319
|
+
namespaces: NamespaceSummary[] | undefined;
|
|
320
|
+
continuationToken?: string | undefined;
|
|
321
|
+
}
|
|
322
|
+
export interface ListTableBucketsRequest {
|
|
323
|
+
prefix?: string | undefined;
|
|
324
|
+
continuationToken?: string | undefined;
|
|
325
|
+
maxBuckets?: number | undefined;
|
|
326
|
+
}
|
|
327
|
+
export interface TableBucketSummary {
|
|
328
|
+
arn: string | undefined;
|
|
329
|
+
name: string | undefined;
|
|
330
|
+
ownerAccountId: string | undefined;
|
|
331
|
+
createdAt: Date | undefined;
|
|
332
|
+
}
|
|
333
|
+
export interface ListTableBucketsResponse {
|
|
334
|
+
tableBuckets: TableBucketSummary[] | undefined;
|
|
335
|
+
continuationToken?: string | undefined;
|
|
336
|
+
}
|
|
337
|
+
export interface ListTablesRequest {
|
|
338
|
+
tableBucketARN: string | undefined;
|
|
339
|
+
namespace?: string | undefined;
|
|
340
|
+
prefix?: string | undefined;
|
|
341
|
+
continuationToken?: string | undefined;
|
|
342
|
+
maxTables?: number | undefined;
|
|
343
|
+
}
|
|
344
|
+
export interface TableSummary {
|
|
345
|
+
namespace: string[] | undefined;
|
|
346
|
+
name: string | undefined;
|
|
347
|
+
type: TableType | undefined;
|
|
348
|
+
tableARN: string | undefined;
|
|
349
|
+
createdAt: Date | undefined;
|
|
350
|
+
modifiedAt: Date | undefined;
|
|
351
|
+
}
|
|
352
|
+
export interface ListTablesResponse {
|
|
353
|
+
tables: TableSummary[] | undefined;
|
|
354
|
+
continuationToken?: string | undefined;
|
|
355
|
+
}
|
|
356
|
+
export interface PutTableBucketMaintenanceConfigurationRequest {
|
|
357
|
+
tableBucketARN: string | undefined;
|
|
358
|
+
type: TableBucketMaintenanceType | undefined;
|
|
359
|
+
value: TableBucketMaintenanceConfigurationValue | undefined;
|
|
360
|
+
}
|
|
361
|
+
export interface PutTableBucketPolicyRequest {
|
|
362
|
+
tableBucketARN: string | undefined;
|
|
363
|
+
resourcePolicy: string | undefined;
|
|
364
|
+
}
|
|
365
|
+
export interface PutTableMaintenanceConfigurationRequest {
|
|
366
|
+
tableBucketARN: string | undefined;
|
|
367
|
+
namespace: string | undefined;
|
|
368
|
+
name: string | undefined;
|
|
369
|
+
type: TableMaintenanceType | undefined;
|
|
370
|
+
value: TableMaintenanceConfigurationValue | undefined;
|
|
371
|
+
}
|
|
372
|
+
export interface PutTablePolicyRequest {
|
|
373
|
+
tableBucketARN: string | undefined;
|
|
374
|
+
namespace: string | undefined;
|
|
375
|
+
name: string | undefined;
|
|
376
|
+
resourcePolicy: string | undefined;
|
|
377
|
+
}
|
|
378
|
+
export interface RenameTableRequest {
|
|
379
|
+
tableBucketARN: string | undefined;
|
|
380
|
+
namespace: string | undefined;
|
|
381
|
+
name: string | undefined;
|
|
382
|
+
newNamespaceName?: string | undefined;
|
|
383
|
+
newName?: string | undefined;
|
|
384
|
+
versionToken?: string | undefined;
|
|
385
|
+
}
|
|
386
|
+
export interface UpdateTableMetadataLocationRequest {
|
|
387
|
+
tableBucketARN: string | undefined;
|
|
388
|
+
namespace: string | undefined;
|
|
389
|
+
name: string | undefined;
|
|
390
|
+
versionToken: string | undefined;
|
|
391
|
+
metadataLocation: string | undefined;
|
|
392
|
+
}
|
|
393
|
+
export interface UpdateTableMetadataLocationResponse {
|
|
394
|
+
name: string | undefined;
|
|
395
|
+
tableARN: string | undefined;
|
|
396
|
+
namespace: string[] | undefined;
|
|
397
|
+
versionToken: string | undefined;
|
|
398
|
+
metadataLocation: string | undefined;
|
|
399
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListNamespacesCommandInput,
|
|
4
|
+
ListNamespacesCommandOutput,
|
|
5
|
+
} from "../commands/ListNamespacesCommand";
|
|
6
|
+
import { S3TablesPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListNamespaces: (
|
|
8
|
+
config: S3TablesPaginationConfiguration,
|
|
9
|
+
input: ListNamespacesCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListNamespacesCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListTableBucketsCommandInput,
|
|
4
|
+
ListTableBucketsCommandOutput,
|
|
5
|
+
} from "../commands/ListTableBucketsCommand";
|
|
6
|
+
import { S3TablesPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListTableBuckets: (
|
|
8
|
+
config: S3TablesPaginationConfiguration,
|
|
9
|
+
input: ListTableBucketsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListTableBucketsCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListTablesCommandInput,
|
|
4
|
+
ListTablesCommandOutput,
|
|
5
|
+
} from "../commands/ListTablesCommand";
|
|
6
|
+
import { S3TablesPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListTables: (
|
|
8
|
+
config: S3TablesPaginationConfiguration,
|
|
9
|
+
input: ListTablesCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListTablesCommandOutput>;
|