@athenaintel/sdk 4.3.2244 → 4.3.2246
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/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/assets/client/Client.d.ts +19 -1
- package/dist/cjs/api/resources/assets/client/Client.js +86 -1
- package/dist/cjs/api/resources/assets/client/requests/CreateAssetRequestIn.d.ts +2 -0
- package/dist/cjs/api/resources/assets/client/requests/GetAccessAssetsRequest.d.ts +12 -0
- package/dist/cjs/api/resources/assets/client/requests/GetAccessAssetsRequest.js +3 -0
- package/dist/cjs/api/resources/assets/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/databases/client/Client.d.ts +77 -4
- package/dist/cjs/api/resources/databases/client/Client.js +296 -4
- package/dist/cjs/api/resources/databases/client/requests/DatabaseComputeSettingsUpdateRequestIn.d.ts +12 -0
- package/dist/cjs/api/resources/databases/client/requests/DatabaseComputeSettingsUpdateRequestIn.js +3 -0
- package/dist/cjs/api/resources/databases/client/requests/GetSettingsDatabasesRequest.d.ts +9 -0
- package/dist/cjs/api/resources/databases/client/requests/GetSettingsDatabasesRequest.js +3 -0
- package/dist/cjs/api/resources/databases/client/requests/WakeDatabasesRequest.d.ts +9 -0
- package/dist/cjs/api/resources/databases/client/requests/WakeDatabasesRequest.js +3 -0
- package/dist/cjs/api/resources/databases/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/tools/resources/sheets/client/requests/UpdateSheetCellRequest.d.ts +3 -0
- package/dist/cjs/api/types/AssetAccessOut.d.ts +28 -0
- package/dist/cjs/api/types/AssetAccessOut.js +14 -0
- package/dist/cjs/api/types/AssetAccessSourceOut.d.ts +32 -0
- package/dist/cjs/api/types/AssetAccessSourceOut.js +22 -0
- package/dist/cjs/api/types/DatabaseComputeSettingsResponseOut.d.ts +9 -0
- package/dist/cjs/api/types/DatabaseComputeSettingsResponseOut.js +3 -0
- package/dist/cjs/api/types/DatabaseStatusResponse.d.ts +2 -0
- package/dist/cjs/api/types/DatabaseWakeResponseOut.d.ts +19 -0
- package/dist/cjs/api/types/DatabaseWakeResponseOut.js +12 -0
- package/dist/cjs/api/types/index.d.ts +4 -0
- package/dist/cjs/api/types/index.js +4 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/resources/assets/client/Client.d.mts +19 -1
- package/dist/esm/api/resources/assets/client/Client.mjs +86 -1
- package/dist/esm/api/resources/assets/client/requests/CreateAssetRequestIn.d.mts +2 -0
- package/dist/esm/api/resources/assets/client/requests/GetAccessAssetsRequest.d.mts +12 -0
- package/dist/esm/api/resources/assets/client/requests/GetAccessAssetsRequest.mjs +2 -0
- package/dist/esm/api/resources/assets/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/databases/client/Client.d.mts +77 -4
- package/dist/esm/api/resources/databases/client/Client.mjs +296 -4
- package/dist/esm/api/resources/databases/client/requests/DatabaseComputeSettingsUpdateRequestIn.d.mts +12 -0
- package/dist/esm/api/resources/databases/client/requests/DatabaseComputeSettingsUpdateRequestIn.mjs +2 -0
- package/dist/esm/api/resources/databases/client/requests/GetSettingsDatabasesRequest.d.mts +9 -0
- package/dist/esm/api/resources/databases/client/requests/GetSettingsDatabasesRequest.mjs +2 -0
- package/dist/esm/api/resources/databases/client/requests/WakeDatabasesRequest.d.mts +9 -0
- package/dist/esm/api/resources/databases/client/requests/WakeDatabasesRequest.mjs +2 -0
- package/dist/esm/api/resources/databases/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/tools/resources/sheets/client/requests/UpdateSheetCellRequest.d.mts +3 -0
- package/dist/esm/api/types/AssetAccessOut.d.mts +28 -0
- package/dist/esm/api/types/AssetAccessOut.mjs +11 -0
- package/dist/esm/api/types/AssetAccessSourceOut.d.mts +32 -0
- package/dist/esm/api/types/AssetAccessSourceOut.mjs +19 -0
- package/dist/esm/api/types/DatabaseComputeSettingsResponseOut.d.mts +9 -0
- package/dist/esm/api/types/DatabaseComputeSettingsResponseOut.mjs +2 -0
- package/dist/esm/api/types/DatabaseStatusResponse.d.mts +2 -0
- package/dist/esm/api/types/DatabaseWakeResponseOut.d.mts +19 -0
- package/dist/esm/api/types/DatabaseWakeResponseOut.mjs +9 -0
- package/dist/esm/api/types/index.d.mts +4 -0
- package/dist/esm/api/types/index.mjs +4 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +275 -5
|
@@ -34,10 +34,13 @@ export class DatabasesClient {
|
|
|
34
34
|
*
|
|
35
35
|
* **Status Values:**
|
|
36
36
|
* - `running` - Database is active and accepting connections
|
|
37
|
-
* - `suspended` - Database is suspended (scale-to-zero)
|
|
38
|
-
* - `starting` - Database is waking up
|
|
39
|
-
* - `
|
|
40
|
-
* - `
|
|
37
|
+
* - `suspended` - Database is suspended (scale-to-zero). It wakes on `POST /databases/{asset_id}/wake` or on the first SQL request. When `reason` is `ComputeUnschedulable`, no node could host its compute size: waking it only restarts the same wait
|
|
38
|
+
* - `starting` - Database is waking up, or its compute is being recreated
|
|
39
|
+
* - `creating` - Database is being created; it has no compute yet
|
|
40
|
+
* - `failed` - Database failed to start, or its creation failed (`message` says which)
|
|
41
|
+
* - `unknown` - Status could not be determined (the control plane did not answer); retry
|
|
42
|
+
*
|
|
43
|
+
* A database suspends (scales to zero) after `suspend_timeout_seconds` without activity; `GET`/`PATCH /databases/{asset_id}/settings` read and set that window, and 0 keeps it running. Reading the compute status or the settings never wakes a suspended database. Two things do: `POST /databases/{asset_id}/wake`, which answers at once while the compute starts, or any request that runs SQL on it, such as `POST /databases/{asset_id}/sql`, which waits for the compute up to 120 seconds; if the compute is still starting then, the answer is 503 with `Retry-After` and the statement did not run. A cold start usually takes 30 seconds to 2 minutes.
|
|
41
44
|
*
|
|
42
45
|
* @param {AthenaIntelligence.GetStatusDatabasesRequest} request
|
|
43
46
|
* @param {DatabasesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -757,6 +760,200 @@ export class DatabasesClient {
|
|
|
757
760
|
}
|
|
758
761
|
});
|
|
759
762
|
}
|
|
763
|
+
/**
|
|
764
|
+
* Read the database's auto-suspend window, the same setting as auto-suspend in the database's Settings in Athena. Reading never wakes the database.
|
|
765
|
+
*
|
|
766
|
+
* A database suspends (scales to zero) after `suspend_timeout_seconds` without activity; `GET`/`PATCH /databases/{asset_id}/settings` read and set that window, and 0 keeps it running. Reading the compute status or the settings never wakes a suspended database. Two things do: `POST /databases/{asset_id}/wake`, which answers at once while the compute starts, or any request that runs SQL on it, such as `POST /databases/{asset_id}/sql`, which waits for the compute up to 120 seconds; if the compute is still starting then, the answer is 503 with `Retry-After` and the statement did not run. A cold start usually takes 30 seconds to 2 minutes.
|
|
767
|
+
*
|
|
768
|
+
* @param {AthenaIntelligence.GetSettingsDatabasesRequest} request
|
|
769
|
+
* @param {DatabasesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
770
|
+
*
|
|
771
|
+
* @throws {@link AthenaIntelligence.BadRequestError}
|
|
772
|
+
* @throws {@link AthenaIntelligence.ForbiddenError}
|
|
773
|
+
* @throws {@link AthenaIntelligence.NotFoundError}
|
|
774
|
+
* @throws {@link AthenaIntelligence.ConflictError}
|
|
775
|
+
* @throws {@link AthenaIntelligence.UnprocessableEntityError}
|
|
776
|
+
* @throws {@link AthenaIntelligence.NotImplementedError}
|
|
777
|
+
* @throws {@link AthenaIntelligence.ServiceUnavailableError}
|
|
778
|
+
*
|
|
779
|
+
* @example
|
|
780
|
+
* await client.databases.getSettings({
|
|
781
|
+
* asset_id: "asset_id"
|
|
782
|
+
* })
|
|
783
|
+
*/
|
|
784
|
+
getSettings(request, requestOptions) {
|
|
785
|
+
return core.HttpResponsePromise.fromPromise(this.__getSettings(request, requestOptions));
|
|
786
|
+
}
|
|
787
|
+
__getSettings(request, requestOptions) {
|
|
788
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
789
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
790
|
+
const { asset_id: assetId } = request;
|
|
791
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
792
|
+
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({
|
|
793
|
+
"X-Athena-Session-Credential": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.sessionCredential) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.sessionCredential,
|
|
794
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
795
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
796
|
+
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.AthenaIntelligenceEnvironment.Production, `api/v0/databases/${core.url.encodePathParam(assetId)}/settings`),
|
|
797
|
+
method: "GET",
|
|
798
|
+
headers: _headers,
|
|
799
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
800
|
+
timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 60) * 1000,
|
|
801
|
+
maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
|
|
802
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
803
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
804
|
+
logging: this._options.logging,
|
|
805
|
+
});
|
|
806
|
+
if (_response.ok) {
|
|
807
|
+
return {
|
|
808
|
+
data: _response.body,
|
|
809
|
+
rawResponse: _response.rawResponse,
|
|
810
|
+
};
|
|
811
|
+
}
|
|
812
|
+
if (_response.error.reason === "status-code") {
|
|
813
|
+
switch (_response.error.statusCode) {
|
|
814
|
+
case 400:
|
|
815
|
+
throw new AthenaIntelligence.BadRequestError(_response.error.body, _response.rawResponse);
|
|
816
|
+
case 403:
|
|
817
|
+
throw new AthenaIntelligence.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
818
|
+
case 404:
|
|
819
|
+
throw new AthenaIntelligence.NotFoundError(_response.error.body, _response.rawResponse);
|
|
820
|
+
case 409:
|
|
821
|
+
throw new AthenaIntelligence.ConflictError(_response.error.body, _response.rawResponse);
|
|
822
|
+
case 422:
|
|
823
|
+
throw new AthenaIntelligence.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
824
|
+
case 501:
|
|
825
|
+
throw new AthenaIntelligence.NotImplementedError(_response.error.body, _response.rawResponse);
|
|
826
|
+
case 503:
|
|
827
|
+
throw new AthenaIntelligence.ServiceUnavailableError(_response.error.body, _response.rawResponse);
|
|
828
|
+
default:
|
|
829
|
+
throw new errors.AthenaIntelligenceError({
|
|
830
|
+
statusCode: _response.error.statusCode,
|
|
831
|
+
body: _response.error.body,
|
|
832
|
+
rawResponse: _response.rawResponse,
|
|
833
|
+
});
|
|
834
|
+
}
|
|
835
|
+
}
|
|
836
|
+
switch (_response.error.reason) {
|
|
837
|
+
case "non-json":
|
|
838
|
+
throw new errors.AthenaIntelligenceError({
|
|
839
|
+
statusCode: _response.error.statusCode,
|
|
840
|
+
body: _response.error.rawBody,
|
|
841
|
+
rawResponse: _response.rawResponse,
|
|
842
|
+
});
|
|
843
|
+
case "body-is-null":
|
|
844
|
+
throw new errors.AthenaIntelligenceError({
|
|
845
|
+
statusCode: _response.error.statusCode,
|
|
846
|
+
rawResponse: _response.rawResponse,
|
|
847
|
+
});
|
|
848
|
+
case "timeout":
|
|
849
|
+
throw new errors.AthenaIntelligenceTimeoutError("Timeout exceeded when calling GET /api/v0/databases/{asset_id}/settings.");
|
|
850
|
+
case "unknown":
|
|
851
|
+
throw new errors.AthenaIntelligenceError({
|
|
852
|
+
message: _response.error.errorMessage,
|
|
853
|
+
rawResponse: _response.rawResponse,
|
|
854
|
+
});
|
|
855
|
+
}
|
|
856
|
+
});
|
|
857
|
+
}
|
|
858
|
+
/**
|
|
859
|
+
* Set the database's auto-suspend window: 0 keeps the database running (it never suspends, and keeps using compute capacity), otherwise 60 to 86400 seconds. The same setting, values and edit-access rule as auto-suspend in the database's Settings in Athena; the change applies at once and does not restart or wake the database.
|
|
860
|
+
*
|
|
861
|
+
* A database suspends (scales to zero) after `suspend_timeout_seconds` without activity; `GET`/`PATCH /databases/{asset_id}/settings` read and set that window, and 0 keeps it running. Reading the compute status or the settings never wakes a suspended database. Two things do: `POST /databases/{asset_id}/wake`, which answers at once while the compute starts, or any request that runs SQL on it, such as `POST /databases/{asset_id}/sql`, which waits for the compute up to 120 seconds; if the compute is still starting then, the answer is 503 with `Retry-After` and the statement did not run. A cold start usually takes 30 seconds to 2 minutes.
|
|
862
|
+
*
|
|
863
|
+
* @param {AthenaIntelligence.DatabaseComputeSettingsUpdateRequestIn} request
|
|
864
|
+
* @param {DatabasesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
865
|
+
*
|
|
866
|
+
* @throws {@link AthenaIntelligence.BadRequestError}
|
|
867
|
+
* @throws {@link AthenaIntelligence.ForbiddenError}
|
|
868
|
+
* @throws {@link AthenaIntelligence.NotFoundError}
|
|
869
|
+
* @throws {@link AthenaIntelligence.ConflictError}
|
|
870
|
+
* @throws {@link AthenaIntelligence.UnprocessableEntityError}
|
|
871
|
+
* @throws {@link AthenaIntelligence.NotImplementedError}
|
|
872
|
+
* @throws {@link AthenaIntelligence.ServiceUnavailableError}
|
|
873
|
+
*
|
|
874
|
+
* @example
|
|
875
|
+
* await client.databases.updateSettings({
|
|
876
|
+
* asset_id: "asset_id",
|
|
877
|
+
* suspend_timeout_seconds: 3600
|
|
878
|
+
* })
|
|
879
|
+
*/
|
|
880
|
+
updateSettings(request, requestOptions) {
|
|
881
|
+
return core.HttpResponsePromise.fromPromise(this.__updateSettings(request, requestOptions));
|
|
882
|
+
}
|
|
883
|
+
__updateSettings(request, requestOptions) {
|
|
884
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
885
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
886
|
+
const { asset_id: assetId } = request, _body = __rest(request, ["asset_id"]);
|
|
887
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
888
|
+
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({
|
|
889
|
+
"X-Athena-Session-Credential": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.sessionCredential) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.sessionCredential,
|
|
890
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
891
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
892
|
+
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.AthenaIntelligenceEnvironment.Production, `api/v0/databases/${core.url.encodePathParam(assetId)}/settings`),
|
|
893
|
+
method: "PATCH",
|
|
894
|
+
headers: _headers,
|
|
895
|
+
contentType: "application/json",
|
|
896
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
897
|
+
requestType: "json",
|
|
898
|
+
body: _body,
|
|
899
|
+
timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 60) * 1000,
|
|
900
|
+
maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
|
|
901
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
902
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
903
|
+
logging: this._options.logging,
|
|
904
|
+
});
|
|
905
|
+
if (_response.ok) {
|
|
906
|
+
return {
|
|
907
|
+
data: _response.body,
|
|
908
|
+
rawResponse: _response.rawResponse,
|
|
909
|
+
};
|
|
910
|
+
}
|
|
911
|
+
if (_response.error.reason === "status-code") {
|
|
912
|
+
switch (_response.error.statusCode) {
|
|
913
|
+
case 400:
|
|
914
|
+
throw new AthenaIntelligence.BadRequestError(_response.error.body, _response.rawResponse);
|
|
915
|
+
case 403:
|
|
916
|
+
throw new AthenaIntelligence.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
917
|
+
case 404:
|
|
918
|
+
throw new AthenaIntelligence.NotFoundError(_response.error.body, _response.rawResponse);
|
|
919
|
+
case 409:
|
|
920
|
+
throw new AthenaIntelligence.ConflictError(_response.error.body, _response.rawResponse);
|
|
921
|
+
case 422:
|
|
922
|
+
throw new AthenaIntelligence.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
923
|
+
case 501:
|
|
924
|
+
throw new AthenaIntelligence.NotImplementedError(_response.error.body, _response.rawResponse);
|
|
925
|
+
case 503:
|
|
926
|
+
throw new AthenaIntelligence.ServiceUnavailableError(_response.error.body, _response.rawResponse);
|
|
927
|
+
default:
|
|
928
|
+
throw new errors.AthenaIntelligenceError({
|
|
929
|
+
statusCode: _response.error.statusCode,
|
|
930
|
+
body: _response.error.body,
|
|
931
|
+
rawResponse: _response.rawResponse,
|
|
932
|
+
});
|
|
933
|
+
}
|
|
934
|
+
}
|
|
935
|
+
switch (_response.error.reason) {
|
|
936
|
+
case "non-json":
|
|
937
|
+
throw new errors.AthenaIntelligenceError({
|
|
938
|
+
statusCode: _response.error.statusCode,
|
|
939
|
+
body: _response.error.rawBody,
|
|
940
|
+
rawResponse: _response.rawResponse,
|
|
941
|
+
});
|
|
942
|
+
case "body-is-null":
|
|
943
|
+
throw new errors.AthenaIntelligenceError({
|
|
944
|
+
statusCode: _response.error.statusCode,
|
|
945
|
+
rawResponse: _response.rawResponse,
|
|
946
|
+
});
|
|
947
|
+
case "timeout":
|
|
948
|
+
throw new errors.AthenaIntelligenceTimeoutError("Timeout exceeded when calling PATCH /api/v0/databases/{asset_id}/settings.");
|
|
949
|
+
case "unknown":
|
|
950
|
+
throw new errors.AthenaIntelligenceError({
|
|
951
|
+
message: _response.error.errorMessage,
|
|
952
|
+
rawResponse: _response.rawResponse,
|
|
953
|
+
});
|
|
954
|
+
}
|
|
955
|
+
});
|
|
956
|
+
}
|
|
760
957
|
/**
|
|
761
958
|
* Execute a SQL statement against the database. SELECT queries return columns and rows. Non-SELECT statements (CREATE, INSERT, UPDATE, DELETE, ALTER, DROP, etc.) return execution statuses.
|
|
762
959
|
*
|
|
@@ -854,4 +1051,99 @@ export class DatabasesClient {
|
|
|
854
1051
|
}
|
|
855
1052
|
});
|
|
856
1053
|
}
|
|
1054
|
+
/**
|
|
1055
|
+
* Start a suspended database's compute and answer at once, without waiting for it to run. Poll `GET /databases/{asset_id}/compute-status` until it reports `running`. Waking a running database resets its idle clock and answers 200 with `running`, so it is safe to call before every batch of work. The same action as Resume Database in Athena; it needs edit access to the database.
|
|
1056
|
+
*
|
|
1057
|
+
* A database suspends (scales to zero) after `suspend_timeout_seconds` without activity; `GET`/`PATCH /databases/{asset_id}/settings` read and set that window, and 0 keeps it running. Reading the compute status or the settings never wakes a suspended database. Two things do: `POST /databases/{asset_id}/wake`, which answers at once while the compute starts, or any request that runs SQL on it, such as `POST /databases/{asset_id}/sql`, which waits for the compute up to 120 seconds; if the compute is still starting then, the answer is 503 with `Retry-After` and the statement did not run. A cold start usually takes 30 seconds to 2 minutes.
|
|
1058
|
+
*
|
|
1059
|
+
* @param {AthenaIntelligence.WakeDatabasesRequest} request
|
|
1060
|
+
* @param {DatabasesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1061
|
+
*
|
|
1062
|
+
* @throws {@link AthenaIntelligence.BadRequestError}
|
|
1063
|
+
* @throws {@link AthenaIntelligence.ForbiddenError}
|
|
1064
|
+
* @throws {@link AthenaIntelligence.NotFoundError}
|
|
1065
|
+
* @throws {@link AthenaIntelligence.ConflictError}
|
|
1066
|
+
* @throws {@link AthenaIntelligence.UnprocessableEntityError}
|
|
1067
|
+
* @throws {@link AthenaIntelligence.NotImplementedError}
|
|
1068
|
+
* @throws {@link AthenaIntelligence.ServiceUnavailableError}
|
|
1069
|
+
*
|
|
1070
|
+
* @example
|
|
1071
|
+
* await client.databases.wake({
|
|
1072
|
+
* asset_id: "asset_id"
|
|
1073
|
+
* })
|
|
1074
|
+
*/
|
|
1075
|
+
wake(request, requestOptions) {
|
|
1076
|
+
return core.HttpResponsePromise.fromPromise(this.__wake(request, requestOptions));
|
|
1077
|
+
}
|
|
1078
|
+
__wake(request, requestOptions) {
|
|
1079
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1080
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
1081
|
+
const { asset_id: assetId } = request;
|
|
1082
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1083
|
+
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({
|
|
1084
|
+
"X-Athena-Session-Credential": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.sessionCredential) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.sessionCredential,
|
|
1085
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1086
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
1087
|
+
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.AthenaIntelligenceEnvironment.Production, `api/v0/databases/${core.url.encodePathParam(assetId)}/wake`),
|
|
1088
|
+
method: "POST",
|
|
1089
|
+
headers: _headers,
|
|
1090
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
1091
|
+
timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 60) * 1000,
|
|
1092
|
+
maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
|
|
1093
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1094
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
1095
|
+
logging: this._options.logging,
|
|
1096
|
+
});
|
|
1097
|
+
if (_response.ok) {
|
|
1098
|
+
return {
|
|
1099
|
+
data: _response.body,
|
|
1100
|
+
rawResponse: _response.rawResponse,
|
|
1101
|
+
};
|
|
1102
|
+
}
|
|
1103
|
+
if (_response.error.reason === "status-code") {
|
|
1104
|
+
switch (_response.error.statusCode) {
|
|
1105
|
+
case 400:
|
|
1106
|
+
throw new AthenaIntelligence.BadRequestError(_response.error.body, _response.rawResponse);
|
|
1107
|
+
case 403:
|
|
1108
|
+
throw new AthenaIntelligence.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
1109
|
+
case 404:
|
|
1110
|
+
throw new AthenaIntelligence.NotFoundError(_response.error.body, _response.rawResponse);
|
|
1111
|
+
case 409:
|
|
1112
|
+
throw new AthenaIntelligence.ConflictError(_response.error.body, _response.rawResponse);
|
|
1113
|
+
case 422:
|
|
1114
|
+
throw new AthenaIntelligence.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
1115
|
+
case 501:
|
|
1116
|
+
throw new AthenaIntelligence.NotImplementedError(_response.error.body, _response.rawResponse);
|
|
1117
|
+
case 503:
|
|
1118
|
+
throw new AthenaIntelligence.ServiceUnavailableError(_response.error.body, _response.rawResponse);
|
|
1119
|
+
default:
|
|
1120
|
+
throw new errors.AthenaIntelligenceError({
|
|
1121
|
+
statusCode: _response.error.statusCode,
|
|
1122
|
+
body: _response.error.body,
|
|
1123
|
+
rawResponse: _response.rawResponse,
|
|
1124
|
+
});
|
|
1125
|
+
}
|
|
1126
|
+
}
|
|
1127
|
+
switch (_response.error.reason) {
|
|
1128
|
+
case "non-json":
|
|
1129
|
+
throw new errors.AthenaIntelligenceError({
|
|
1130
|
+
statusCode: _response.error.statusCode,
|
|
1131
|
+
body: _response.error.rawBody,
|
|
1132
|
+
rawResponse: _response.rawResponse,
|
|
1133
|
+
});
|
|
1134
|
+
case "body-is-null":
|
|
1135
|
+
throw new errors.AthenaIntelligenceError({
|
|
1136
|
+
statusCode: _response.error.statusCode,
|
|
1137
|
+
rawResponse: _response.rawResponse,
|
|
1138
|
+
});
|
|
1139
|
+
case "timeout":
|
|
1140
|
+
throw new errors.AthenaIntelligenceTimeoutError("Timeout exceeded when calling POST /api/v0/databases/{asset_id}/wake.");
|
|
1141
|
+
case "unknown":
|
|
1142
|
+
throw new errors.AthenaIntelligenceError({
|
|
1143
|
+
message: _response.error.errorMessage,
|
|
1144
|
+
rawResponse: _response.rawResponse,
|
|
1145
|
+
});
|
|
1146
|
+
}
|
|
1147
|
+
});
|
|
1148
|
+
}
|
|
857
1149
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {
|
|
4
|
+
* asset_id: "asset_id",
|
|
5
|
+
* suspend_timeout_seconds: 3600
|
|
6
|
+
* }
|
|
7
|
+
*/
|
|
8
|
+
export interface DatabaseComputeSettingsUpdateRequestIn {
|
|
9
|
+
asset_id: string;
|
|
10
|
+
/** Seconds without activity after which the database suspends (scales to zero). 0 means it never suspends: the compute keeps running, and keeps using capacity, until you change this. Otherwise 60 to 86400 (24 hours). A new database starts with 1800 (30 minutes). The same setting as auto-suspend in the database's Settings in Athena. */
|
|
11
|
+
suspend_timeout_seconds: number;
|
|
12
|
+
}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
+
export type { DatabaseComputeSettingsUpdateRequestIn } from "./DatabaseComputeSettingsUpdateRequestIn.mjs";
|
|
1
2
|
export type { DatabaseSqlRequest } from "./DatabaseSqlRequest.mjs";
|
|
2
3
|
export type { DeleteDatabasesRequest } from "./DeleteDatabasesRequest.mjs";
|
|
4
|
+
export type { GetSettingsDatabasesRequest } from "./GetSettingsDatabasesRequest.mjs";
|
|
3
5
|
export type { GetStatusDatabasesRequest } from "./GetStatusDatabasesRequest.mjs";
|
|
4
6
|
export type { GetTableSchemaDatabasesRequest } from "./GetTableSchemaDatabasesRequest.mjs";
|
|
5
7
|
export type { InsertDataRequest } from "./InsertDataRequest.mjs";
|
|
6
8
|
export type { ListTablesDatabasesRequest } from "./ListTablesDatabasesRequest.mjs";
|
|
7
9
|
export type { SelectDatabasesRequest } from "./SelectDatabasesRequest.mjs";
|
|
8
10
|
export type { UpdateDataRequest } from "./UpdateDataRequest.mjs";
|
|
11
|
+
export type { WakeDatabasesRequest } from "./WakeDatabasesRequest.mjs";
|
package/dist/esm/api/resources/tools/resources/sheets/client/requests/UpdateSheetCellRequest.d.mts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type * as AthenaIntelligence from "../../../../../../index.mjs";
|
|
1
2
|
/**
|
|
2
3
|
* @example
|
|
3
4
|
* {
|
|
@@ -12,6 +13,8 @@ export interface UpdateSheetCellRequest {
|
|
|
12
13
|
asset_id: string;
|
|
13
14
|
/** 1-based column index (e.g., 1 = column A) */
|
|
14
15
|
column: number;
|
|
16
|
+
/** Optional cell format (textFormat, backgroundColor, numberFormat, alignment, borders) applied in the same write as the value, like `formatting` on range/update. */
|
|
17
|
+
formatting?: AthenaIntelligence.CellFormat | null;
|
|
15
18
|
/** 1-based row index (e.g., 1 = first row) */
|
|
16
19
|
row: number;
|
|
17
20
|
/** Sheet ID (defaults to 1) */
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type * as AthenaIntelligence from "../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* Response model for reading a user's effective access on an asset.
|
|
4
|
+
*/
|
|
5
|
+
export interface AssetAccessOut {
|
|
6
|
+
/** ID of the asset */
|
|
7
|
+
asset_id: string;
|
|
8
|
+
/** Whether the user has an active membership in the asset's workspace. A user who is not a member reads as 'none'; the one exception is the workspace's own external viewer, who can still open what is shared with them. A suspended member reads as 'none' with no sources, and this field still reports their membership. */
|
|
9
|
+
is_member: boolean;
|
|
10
|
+
/** The access the user has, as Athena's permission checks decide it: 'view' can open the asset, 'edit' can also change it and manage its sharing, 'owner' created it and can edit it, 'none' cannot open it. When a check refuses what a listed source grants, the level is lower than that source, and the level is what holds. */
|
|
11
|
+
level: AssetAccessOut.Level;
|
|
12
|
+
/** Every grant that contributes to the level */
|
|
13
|
+
sources: AthenaIntelligence.AssetAccessSourceOut[];
|
|
14
|
+
/** The user whose access was read */
|
|
15
|
+
user_id: string;
|
|
16
|
+
/** The workspace the asset belongs to */
|
|
17
|
+
workspace_id: string | null;
|
|
18
|
+
}
|
|
19
|
+
export declare namespace AssetAccessOut {
|
|
20
|
+
/** The access the user has, as Athena's permission checks decide it: 'view' can open the asset, 'edit' can also change it and manage its sharing, 'owner' created it and can edit it, 'none' cannot open it. When a check refuses what a listed source grants, the level is lower than that source, and the level is what holds. */
|
|
21
|
+
const Level: {
|
|
22
|
+
readonly Owner: "owner";
|
|
23
|
+
readonly Edit: "edit";
|
|
24
|
+
readonly View: "view";
|
|
25
|
+
readonly None: "none";
|
|
26
|
+
};
|
|
27
|
+
type Level = (typeof Level)[keyof typeof Level];
|
|
28
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
export var AssetAccessOut;
|
|
3
|
+
(function (AssetAccessOut) {
|
|
4
|
+
/** The access the user has, as Athena's permission checks decide it: 'view' can open the asset, 'edit' can also change it and manage its sharing, 'owner' created it and can edit it, 'none' cannot open it. When a check refuses what a listed source grants, the level is lower than that source, and the level is what holds. */
|
|
5
|
+
AssetAccessOut.Level = {
|
|
6
|
+
Owner: "owner",
|
|
7
|
+
Edit: "edit",
|
|
8
|
+
View: "view",
|
|
9
|
+
None: "none",
|
|
10
|
+
};
|
|
11
|
+
})(AssetAccessOut || (AssetAccessOut = {}));
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* One grant that contributes to a user's access on an asset.
|
|
3
|
+
*/
|
|
4
|
+
export interface AssetAccessSourceOut {
|
|
5
|
+
/** The workspace group, when kind is 'group' */
|
|
6
|
+
group_id?: string | null;
|
|
7
|
+
/** The workspace group's name, when kind is 'group' */
|
|
8
|
+
group_name?: string | null;
|
|
9
|
+
/** Where the grant comes from: 'owner' (the user created the asset), 'direct' (the asset is shared with the user), 'group' (it is shared with a workspace group the user belongs to), 'workspace' (it is shared with the whole workspace), 'drive' (a role on the drive the asset is in) or 'other' (access the share list does not hold, for example an environment admin, also on an asset in a drive, or the view of a folder that holds an asset the user can open). A folder's sharing reaches each asset inside it as that asset's own share, so a 'workspace' source on a sub-folder shows that a share of its parent folder reached it. */
|
|
10
|
+
kind: AssetAccessSourceOut.Kind;
|
|
11
|
+
/** The level this grant gives */
|
|
12
|
+
level: AssetAccessSourceOut.Level;
|
|
13
|
+
}
|
|
14
|
+
export declare namespace AssetAccessSourceOut {
|
|
15
|
+
/** Where the grant comes from: 'owner' (the user created the asset), 'direct' (the asset is shared with the user), 'group' (it is shared with a workspace group the user belongs to), 'workspace' (it is shared with the whole workspace), 'drive' (a role on the drive the asset is in) or 'other' (access the share list does not hold, for example an environment admin, also on an asset in a drive, or the view of a folder that holds an asset the user can open). A folder's sharing reaches each asset inside it as that asset's own share, so a 'workspace' source on a sub-folder shows that a share of its parent folder reached it. */
|
|
16
|
+
const Kind: {
|
|
17
|
+
readonly Owner: "owner";
|
|
18
|
+
readonly Direct: "direct";
|
|
19
|
+
readonly Group: "group";
|
|
20
|
+
readonly Workspace: "workspace";
|
|
21
|
+
readonly Drive: "drive";
|
|
22
|
+
readonly Other: "other";
|
|
23
|
+
};
|
|
24
|
+
type Kind = (typeof Kind)[keyof typeof Kind];
|
|
25
|
+
/** The level this grant gives */
|
|
26
|
+
const Level: {
|
|
27
|
+
readonly Owner: "owner";
|
|
28
|
+
readonly Edit: "edit";
|
|
29
|
+
readonly View: "view";
|
|
30
|
+
};
|
|
31
|
+
type Level = (typeof Level)[keyof typeof Level];
|
|
32
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
export var AssetAccessSourceOut;
|
|
3
|
+
(function (AssetAccessSourceOut) {
|
|
4
|
+
/** Where the grant comes from: 'owner' (the user created the asset), 'direct' (the asset is shared with the user), 'group' (it is shared with a workspace group the user belongs to), 'workspace' (it is shared with the whole workspace), 'drive' (a role on the drive the asset is in) or 'other' (access the share list does not hold, for example an environment admin, also on an asset in a drive, or the view of a folder that holds an asset the user can open). A folder's sharing reaches each asset inside it as that asset's own share, so a 'workspace' source on a sub-folder shows that a share of its parent folder reached it. */
|
|
5
|
+
AssetAccessSourceOut.Kind = {
|
|
6
|
+
Owner: "owner",
|
|
7
|
+
Direct: "direct",
|
|
8
|
+
Group: "group",
|
|
9
|
+
Workspace: "workspace",
|
|
10
|
+
Drive: "drive",
|
|
11
|
+
Other: "other",
|
|
12
|
+
};
|
|
13
|
+
/** The level this grant gives */
|
|
14
|
+
AssetAccessSourceOut.Level = {
|
|
15
|
+
Owner: "owner",
|
|
16
|
+
Edit: "edit",
|
|
17
|
+
View: "view",
|
|
18
|
+
};
|
|
19
|
+
})(AssetAccessSourceOut || (AssetAccessSourceOut = {}));
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The database's compute settings that the public API can read and set.
|
|
3
|
+
*/
|
|
4
|
+
export interface DatabaseComputeSettingsResponseOut {
|
|
5
|
+
/** The database asset ID */
|
|
6
|
+
asset_id: string;
|
|
7
|
+
/** Seconds without activity after which the database suspends (scales to zero). 0 means it never suspends: the compute keeps running, and keeps using capacity, until you change this. Otherwise 60 to 86400 (24 hours). A new database starts with 1800 (30 minutes). The same setting as auto-suspend in the database's Settings in Athena. */
|
|
8
|
+
suspend_timeout_seconds: number;
|
|
9
|
+
}
|
|
@@ -11,6 +11,8 @@ export interface DatabaseStatusResponse {
|
|
|
11
11
|
message?: string | null;
|
|
12
12
|
/** Database provider ('kronos') */
|
|
13
13
|
provider: string;
|
|
14
|
+
/** Why the compute is in this state, when the control plane says: `ComputeUnschedulable` on a `suspended` database means no node could host its compute size, so a wake only restarts the same wait; choose a smaller compute size in the database's Settings in Athena first. Absent on older control planes. */
|
|
15
|
+
reason?: string | null;
|
|
14
16
|
/** Standardized database status */
|
|
15
17
|
status: DatabaseStatusResponse.Status;
|
|
16
18
|
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Response for a wake request.
|
|
3
|
+
*/
|
|
4
|
+
export interface DatabaseWakeResponseOut {
|
|
5
|
+
/** The database asset ID */
|
|
6
|
+
asset_id: string;
|
|
7
|
+
/** Optional detail from the control plane */
|
|
8
|
+
message?: string | null;
|
|
9
|
+
/** `running`: the compute was already running; its idle clock was reset. `starting`: the compute is starting; poll `GET /databases/{asset_id}/compute-status` until it reports `running`. */
|
|
10
|
+
status: DatabaseWakeResponseOut.Status;
|
|
11
|
+
}
|
|
12
|
+
export declare namespace DatabaseWakeResponseOut {
|
|
13
|
+
/** `running`: the compute was already running; its idle clock was reset. `starting`: the compute is starting; poll `GET /databases/{asset_id}/compute-status` until it reports `running`. */
|
|
14
|
+
const Status: {
|
|
15
|
+
readonly Running: "running";
|
|
16
|
+
readonly Starting: "starting";
|
|
17
|
+
};
|
|
18
|
+
type Status = (typeof Status)[keyof typeof Status];
|
|
19
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
export var DatabaseWakeResponseOut;
|
|
3
|
+
(function (DatabaseWakeResponseOut) {
|
|
4
|
+
/** `running`: the compute was already running; its idle clock was reset. `starting`: the compute is starting; poll `GET /databases/{asset_id}/compute-status` until it reports `running`. */
|
|
5
|
+
DatabaseWakeResponseOut.Status = {
|
|
6
|
+
Running: "running",
|
|
7
|
+
Starting: "starting",
|
|
8
|
+
};
|
|
9
|
+
})(DatabaseWakeResponseOut || (DatabaseWakeResponseOut = {}));
|
|
@@ -15,6 +15,8 @@ export * from "./AopExecuteRequestIn.mjs";
|
|
|
15
15
|
export * from "./AopExecuteResponseOut.mjs";
|
|
16
16
|
export * from "./ApprovalMode.mjs";
|
|
17
17
|
export * from "./ArchiveAssetResponseOut.mjs";
|
|
18
|
+
export * from "./AssetAccessOut.mjs";
|
|
19
|
+
export * from "./AssetAccessSourceOut.mjs";
|
|
18
20
|
export * from "./AssetActivityDeltaResponseOut.mjs";
|
|
19
21
|
export * from "./AssetActivityResponseOut.mjs";
|
|
20
22
|
export * from "./AssetCapabilitiesResponseOut.mjs";
|
|
@@ -52,6 +54,7 @@ export * from "./CreateAssetResponseOut.mjs";
|
|
|
52
54
|
export * from "./CreateNewSheetTabResponse.mjs";
|
|
53
55
|
export * from "./CreateProjectResponseOut.mjs";
|
|
54
56
|
export * from "./DatabaseColumnInfo.mjs";
|
|
57
|
+
export * from "./DatabaseComputeSettingsResponseOut.mjs";
|
|
55
58
|
export * from "./DatabaseDataResponse.mjs";
|
|
56
59
|
export * from "./DatabaseMutationResponse.mjs";
|
|
57
60
|
export * from "./DatabaseSqlResponse.mjs";
|
|
@@ -59,6 +62,7 @@ export * from "./DatabaseStatusResponse.mjs";
|
|
|
59
62
|
export * from "./DatabaseTableInfo.mjs";
|
|
60
63
|
export * from "./DatabaseTableSchemaResponse.mjs";
|
|
61
64
|
export * from "./DatabaseTablesResponse.mjs";
|
|
65
|
+
export * from "./DatabaseWakeResponseOut.mjs";
|
|
62
66
|
export * from "./DataFrameRequestOut.mjs";
|
|
63
67
|
export * from "./DataFrameUnknownFormatError.mjs";
|
|
64
68
|
export * from "./DefaultVisibility.mjs";
|
|
@@ -15,6 +15,8 @@ export * from "./AopExecuteRequestIn.mjs";
|
|
|
15
15
|
export * from "./AopExecuteResponseOut.mjs";
|
|
16
16
|
export * from "./ApprovalMode.mjs";
|
|
17
17
|
export * from "./ArchiveAssetResponseOut.mjs";
|
|
18
|
+
export * from "./AssetAccessOut.mjs";
|
|
19
|
+
export * from "./AssetAccessSourceOut.mjs";
|
|
18
20
|
export * from "./AssetActivityDeltaResponseOut.mjs";
|
|
19
21
|
export * from "./AssetActivityResponseOut.mjs";
|
|
20
22
|
export * from "./AssetCapabilitiesResponseOut.mjs";
|
|
@@ -52,6 +54,7 @@ export * from "./CreateAssetResponseOut.mjs";
|
|
|
52
54
|
export * from "./CreateNewSheetTabResponse.mjs";
|
|
53
55
|
export * from "./CreateProjectResponseOut.mjs";
|
|
54
56
|
export * from "./DatabaseColumnInfo.mjs";
|
|
57
|
+
export * from "./DatabaseComputeSettingsResponseOut.mjs";
|
|
55
58
|
export * from "./DatabaseDataResponse.mjs";
|
|
56
59
|
export * from "./DatabaseMutationResponse.mjs";
|
|
57
60
|
export * from "./DatabaseSqlResponse.mjs";
|
|
@@ -59,6 +62,7 @@ export * from "./DatabaseStatusResponse.mjs";
|
|
|
59
62
|
export * from "./DatabaseTableInfo.mjs";
|
|
60
63
|
export * from "./DatabaseTableSchemaResponse.mjs";
|
|
61
64
|
export * from "./DatabaseTablesResponse.mjs";
|
|
65
|
+
export * from "./DatabaseWakeResponseOut.mjs";
|
|
62
66
|
export * from "./DataFrameRequestOut.mjs";
|
|
63
67
|
export * from "./DataFrameUnknownFormatError.mjs";
|
|
64
68
|
export * from "./DefaultVisibility.mjs";
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "4.3.
|
|
1
|
+
export declare const SDK_VERSION = "4.3.2246";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "4.3.
|
|
1
|
+
export const SDK_VERSION = "4.3.2246";
|