@s2-dev/streamstore 0.15.1 → 0.15.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -12
- package/bin/mcp-server.js +64 -104
- package/bin/mcp-server.js.map +50 -50
- package/dist/commonjs/funcs/basinsGetBasinConfig.d.ts +1 -1
- package/dist/commonjs/funcs/basinsGetBasinConfig.js +1 -1
- package/dist/commonjs/funcs/metricsAccountMetrics.d.ts +1 -1
- package/dist/commonjs/funcs/metricsAccountMetrics.js +1 -1
- package/dist/commonjs/funcs/metricsBasinMetrics.d.ts +1 -1
- package/dist/commonjs/funcs/metricsBasinMetrics.js +1 -1
- package/dist/commonjs/funcs/metricsStreamMetrics.d.ts +1 -1
- package/dist/commonjs/funcs/metricsStreamMetrics.js +1 -1
- package/dist/commonjs/funcs/recordsAppend.d.ts +0 -3
- package/dist/commonjs/funcs/recordsAppend.d.ts.map +1 -1
- package/dist/commonjs/funcs/recordsAppend.js +0 -3
- package/dist/commonjs/funcs/recordsAppend.js.map +1 -1
- package/dist/commonjs/funcs/recordsCheckTail.d.ts +0 -3
- package/dist/commonjs/funcs/recordsCheckTail.d.ts.map +1 -1
- package/dist/commonjs/funcs/recordsCheckTail.js +0 -3
- package/dist/commonjs/funcs/recordsCheckTail.js.map +1 -1
- package/dist/commonjs/funcs/recordsRead.d.ts +1 -4
- package/dist/commonjs/funcs/recordsRead.d.ts.map +1 -1
- package/dist/commonjs/funcs/recordsRead.js +1 -4
- package/dist/commonjs/funcs/recordsRead.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/lib/files.d.ts +5 -0
- package/dist/commonjs/lib/files.d.ts.map +1 -1
- package/dist/commonjs/lib/files.js +41 -0
- package/dist/commonjs/lib/files.js.map +1 -1
- package/dist/commonjs/lib/security.d.ts +2 -2
- package/dist/commonjs/lib/security.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/mcp-server/tools/basinsGetBasinConfig.js +1 -1
- package/dist/commonjs/mcp-server/tools/basinsGetBasinConfig.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/metricsAccountMetrics.js +1 -1
- package/dist/commonjs/mcp-server/tools/metricsAccountMetrics.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/metricsBasinMetrics.js +1 -1
- package/dist/commonjs/mcp-server/tools/metricsBasinMetrics.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/metricsStreamMetrics.js +1 -1
- package/dist/commonjs/mcp-server/tools/metricsStreamMetrics.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/recordsAppend.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/recordsAppend.js +1 -3
- package/dist/commonjs/mcp-server/tools/recordsAppend.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/recordsCheckTail.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/recordsCheckTail.js +1 -3
- package/dist/commonjs/mcp-server/tools/recordsCheckTail.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/recordsRead.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/recordsRead.js +1 -3
- package/dist/commonjs/mcp-server/tools/recordsRead.js.map +1 -1
- package/dist/commonjs/models/components/accesstokeninfo.d.ts +1 -2
- package/dist/commonjs/models/components/accesstokeninfo.d.ts.map +1 -1
- package/dist/commonjs/models/components/accesstokeninfo.js.map +1 -1
- package/dist/commonjs/models/components/accountmetricset.d.ts +6 -6
- package/dist/commonjs/models/components/accountmetricset.js +2 -2
- package/dist/commonjs/models/components/accumulation.d.ts +2 -6
- package/dist/commonjs/models/components/accumulation.d.ts.map +1 -1
- package/dist/commonjs/models/components/accumulation.js.map +1 -1
- package/dist/commonjs/models/components/appendack.d.ts +1 -1
- package/dist/commonjs/models/components/appendinput.d.ts +4 -4
- package/dist/commonjs/models/components/basinconfig.d.ts +2 -8
- package/dist/commonjs/models/components/basinconfig.d.ts.map +1 -1
- package/dist/commonjs/models/components/basinconfig.js.map +1 -1
- package/dist/commonjs/models/components/basinmetricset.d.ts +15 -15
- package/dist/commonjs/models/components/basinmetricset.js +5 -5
- package/dist/commonjs/models/components/createbasinrequest.d.ts +1 -2
- package/dist/commonjs/models/components/createbasinrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/createbasinrequest.js.map +1 -1
- package/dist/commonjs/models/components/gauge.d.ts +2 -5
- package/dist/commonjs/models/components/gauge.d.ts.map +1 -1
- package/dist/commonjs/models/components/gauge.js.map +1 -1
- package/dist/commonjs/models/components/listaccesstokensresponse.d.ts +2 -2
- package/dist/commonjs/models/components/listbasinsresponse.d.ts +1 -1
- package/dist/commonjs/models/components/liststreamsresponse.d.ts +1 -1
- package/dist/commonjs/models/components/metric.d.ts +4 -4
- package/dist/commonjs/models/components/readbatch.d.ts +2 -2
- package/dist/commonjs/models/components/readevent.d.ts +17 -67
- package/dist/commonjs/models/components/readevent.d.ts.map +1 -1
- package/dist/commonjs/models/components/readevent.js +27 -88
- package/dist/commonjs/models/components/readevent.js.map +1 -1
- package/dist/commonjs/models/components/retentionpolicy.d.ts +12 -0
- package/dist/commonjs/models/components/retentionpolicy.d.ts.map +1 -1
- package/dist/commonjs/models/components/retentionpolicy.js.map +1 -1
- package/dist/commonjs/models/components/streamposition.d.ts +1 -1
- package/dist/commonjs/models/components/timestampingconfig.d.ts +1 -1
- package/dist/commonjs/models/errors/appendconditionfailed.d.ts +1 -1
- package/dist/commonjs/models/operations/accountmetrics.d.ts +4 -4
- package/dist/commonjs/models/operations/append.d.ts +3 -2
- package/dist/commonjs/models/operations/append.d.ts.map +1 -1
- package/dist/commonjs/models/operations/append.js.map +1 -1
- package/dist/commonjs/models/operations/basinmetrics.d.ts +4 -4
- package/dist/commonjs/models/operations/createorreconfigurebasin.d.ts +1 -1
- package/dist/commonjs/models/operations/createorreconfigurestream.d.ts +1 -1
- package/dist/commonjs/models/operations/listaccesstokens.d.ts +2 -2
- package/dist/commonjs/models/operations/listbasins.d.ts +3 -4
- package/dist/commonjs/models/operations/listbasins.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listbasins.js.map +1 -1
- package/dist/commonjs/models/operations/liststreams.d.ts +3 -4
- package/dist/commonjs/models/operations/liststreams.d.ts.map +1 -1
- package/dist/commonjs/models/operations/liststreams.js.map +1 -1
- package/dist/commonjs/models/operations/read.d.ts +4 -3
- package/dist/commonjs/models/operations/read.d.ts.map +1 -1
- package/dist/commonjs/models/operations/read.js.map +1 -1
- package/dist/commonjs/sdk/basins.d.ts +1 -1
- package/dist/commonjs/sdk/basins.js +1 -1
- package/dist/commonjs/sdk/metrics.d.ts +3 -3
- package/dist/commonjs/sdk/metrics.js +3 -3
- package/dist/commonjs/sdk/records.d.ts +1 -10
- package/dist/commonjs/sdk/records.d.ts.map +1 -1
- package/dist/commonjs/sdk/records.js +1 -10
- package/dist/commonjs/sdk/records.js.map +1 -1
- package/dist/commonjs/types/constdatetime.js +1 -1
- package/dist/esm/funcs/basinsGetBasinConfig.d.ts +1 -1
- package/dist/esm/funcs/basinsGetBasinConfig.js +1 -1
- package/dist/esm/funcs/metricsAccountMetrics.d.ts +1 -1
- package/dist/esm/funcs/metricsAccountMetrics.js +1 -1
- package/dist/esm/funcs/metricsBasinMetrics.d.ts +1 -1
- package/dist/esm/funcs/metricsBasinMetrics.js +1 -1
- package/dist/esm/funcs/metricsStreamMetrics.d.ts +1 -1
- package/dist/esm/funcs/metricsStreamMetrics.js +1 -1
- package/dist/esm/funcs/recordsAppend.d.ts +0 -3
- package/dist/esm/funcs/recordsAppend.d.ts.map +1 -1
- package/dist/esm/funcs/recordsAppend.js +0 -3
- package/dist/esm/funcs/recordsAppend.js.map +1 -1
- package/dist/esm/funcs/recordsCheckTail.d.ts +0 -3
- package/dist/esm/funcs/recordsCheckTail.d.ts.map +1 -1
- package/dist/esm/funcs/recordsCheckTail.js +0 -3
- package/dist/esm/funcs/recordsCheckTail.js.map +1 -1
- package/dist/esm/funcs/recordsRead.d.ts +1 -4
- package/dist/esm/funcs/recordsRead.d.ts.map +1 -1
- package/dist/esm/funcs/recordsRead.js +1 -4
- package/dist/esm/funcs/recordsRead.js.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/lib/files.d.ts +5 -0
- package/dist/esm/lib/files.d.ts.map +1 -1
- package/dist/esm/lib/files.js +40 -0
- package/dist/esm/lib/files.js.map +1 -1
- package/dist/esm/lib/security.d.ts +2 -2
- package/dist/esm/lib/security.d.ts.map +1 -1
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/mcp-server/tools/basinsGetBasinConfig.js +1 -1
- package/dist/esm/mcp-server/tools/basinsGetBasinConfig.js.map +1 -1
- package/dist/esm/mcp-server/tools/metricsAccountMetrics.js +1 -1
- package/dist/esm/mcp-server/tools/metricsAccountMetrics.js.map +1 -1
- package/dist/esm/mcp-server/tools/metricsBasinMetrics.js +1 -1
- package/dist/esm/mcp-server/tools/metricsBasinMetrics.js.map +1 -1
- package/dist/esm/mcp-server/tools/metricsStreamMetrics.js +1 -1
- package/dist/esm/mcp-server/tools/metricsStreamMetrics.js.map +1 -1
- package/dist/esm/mcp-server/tools/recordsAppend.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/recordsAppend.js +1 -3
- package/dist/esm/mcp-server/tools/recordsAppend.js.map +1 -1
- package/dist/esm/mcp-server/tools/recordsCheckTail.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/recordsCheckTail.js +1 -3
- package/dist/esm/mcp-server/tools/recordsCheckTail.js.map +1 -1
- package/dist/esm/mcp-server/tools/recordsRead.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/recordsRead.js +1 -3
- package/dist/esm/mcp-server/tools/recordsRead.js.map +1 -1
- package/dist/esm/models/components/accesstokeninfo.d.ts +1 -2
- package/dist/esm/models/components/accesstokeninfo.d.ts.map +1 -1
- package/dist/esm/models/components/accesstokeninfo.js.map +1 -1
- package/dist/esm/models/components/accountmetricset.d.ts +6 -6
- package/dist/esm/models/components/accountmetricset.js +2 -2
- package/dist/esm/models/components/accumulation.d.ts +2 -6
- package/dist/esm/models/components/accumulation.d.ts.map +1 -1
- package/dist/esm/models/components/accumulation.js.map +1 -1
- package/dist/esm/models/components/appendack.d.ts +1 -1
- package/dist/esm/models/components/appendinput.d.ts +4 -4
- package/dist/esm/models/components/basinconfig.d.ts +2 -8
- package/dist/esm/models/components/basinconfig.d.ts.map +1 -1
- package/dist/esm/models/components/basinconfig.js.map +1 -1
- package/dist/esm/models/components/basinmetricset.d.ts +15 -15
- package/dist/esm/models/components/basinmetricset.js +5 -5
- package/dist/esm/models/components/createbasinrequest.d.ts +1 -2
- package/dist/esm/models/components/createbasinrequest.d.ts.map +1 -1
- package/dist/esm/models/components/createbasinrequest.js.map +1 -1
- package/dist/esm/models/components/gauge.d.ts +2 -5
- package/dist/esm/models/components/gauge.d.ts.map +1 -1
- package/dist/esm/models/components/gauge.js.map +1 -1
- package/dist/esm/models/components/listaccesstokensresponse.d.ts +2 -2
- package/dist/esm/models/components/listbasinsresponse.d.ts +1 -1
- package/dist/esm/models/components/liststreamsresponse.d.ts +1 -1
- package/dist/esm/models/components/metric.d.ts +4 -4
- package/dist/esm/models/components/readbatch.d.ts +2 -2
- package/dist/esm/models/components/readevent.d.ts +17 -67
- package/dist/esm/models/components/readevent.d.ts.map +1 -1
- package/dist/esm/models/components/readevent.js +26 -85
- package/dist/esm/models/components/readevent.js.map +1 -1
- package/dist/esm/models/components/retentionpolicy.d.ts +12 -0
- package/dist/esm/models/components/retentionpolicy.d.ts.map +1 -1
- package/dist/esm/models/components/retentionpolicy.js.map +1 -1
- package/dist/esm/models/components/streamposition.d.ts +1 -1
- package/dist/esm/models/components/timestampingconfig.d.ts +1 -1
- package/dist/esm/models/errors/appendconditionfailed.d.ts +1 -1
- package/dist/esm/models/operations/accountmetrics.d.ts +4 -4
- package/dist/esm/models/operations/append.d.ts +3 -2
- package/dist/esm/models/operations/append.d.ts.map +1 -1
- package/dist/esm/models/operations/append.js.map +1 -1
- package/dist/esm/models/operations/basinmetrics.d.ts +4 -4
- package/dist/esm/models/operations/createorreconfigurebasin.d.ts +1 -1
- package/dist/esm/models/operations/createorreconfigurestream.d.ts +1 -1
- package/dist/esm/models/operations/listaccesstokens.d.ts +2 -2
- package/dist/esm/models/operations/listbasins.d.ts +3 -4
- package/dist/esm/models/operations/listbasins.d.ts.map +1 -1
- package/dist/esm/models/operations/listbasins.js.map +1 -1
- package/dist/esm/models/operations/liststreams.d.ts +3 -4
- package/dist/esm/models/operations/liststreams.d.ts.map +1 -1
- package/dist/esm/models/operations/liststreams.js.map +1 -1
- package/dist/esm/models/operations/read.d.ts +4 -3
- package/dist/esm/models/operations/read.d.ts.map +1 -1
- package/dist/esm/models/operations/read.js.map +1 -1
- package/dist/esm/sdk/basins.d.ts +1 -1
- package/dist/esm/sdk/basins.js +1 -1
- package/dist/esm/sdk/metrics.d.ts +3 -3
- package/dist/esm/sdk/metrics.js +3 -3
- package/dist/esm/sdk/records.d.ts +1 -10
- package/dist/esm/sdk/records.d.ts.map +1 -1
- package/dist/esm/sdk/records.js +1 -10
- package/dist/esm/sdk/records.js.map +1 -1
- package/dist/esm/types/constdatetime.js +1 -1
- package/docs/sdks/basins/README.md +2 -2
- package/docs/sdks/metrics/README.md +8 -8
- package/docs/sdks/records/README.md +4 -4
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/basinsGetBasinConfig.ts +1 -1
- package/src/funcs/metricsAccountMetrics.ts +1 -1
- package/src/funcs/metricsBasinMetrics.ts +1 -1
- package/src/funcs/metricsStreamMetrics.ts +1 -1
- package/src/funcs/recordsAppend.ts +0 -3
- package/src/funcs/recordsCheckTail.ts +0 -3
- package/src/funcs/recordsRead.ts +1 -4
- package/src/lib/config.ts +3 -3
- package/src/lib/files.ts +42 -0
- package/src/lib/security.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/mcp-server/tools/basinsGetBasinConfig.ts +1 -1
- package/src/mcp-server/tools/metricsAccountMetrics.ts +1 -1
- package/src/mcp-server/tools/metricsBasinMetrics.ts +1 -1
- package/src/mcp-server/tools/metricsStreamMetrics.ts +1 -1
- package/src/mcp-server/tools/recordsAppend.ts +1 -3
- package/src/mcp-server/tools/recordsCheckTail.ts +1 -3
- package/src/mcp-server/tools/recordsRead.ts +1 -3
- package/src/models/components/accesstokeninfo.ts +1 -2
- package/src/models/components/accountmetricset.ts +2 -2
- package/src/models/components/accumulation.ts +2 -6
- package/src/models/components/appendack.ts +1 -1
- package/src/models/components/appendinput.ts +4 -4
- package/src/models/components/basinconfig.ts +2 -8
- package/src/models/components/basinmetricset.ts +5 -5
- package/src/models/components/createbasinrequest.ts +1 -2
- package/src/models/components/gauge.ts +2 -5
- package/src/models/components/listaccesstokensresponse.ts +2 -2
- package/src/models/components/listbasinsresponse.ts +1 -1
- package/src/models/components/liststreamsresponse.ts +1 -1
- package/src/models/components/metric.ts +4 -4
- package/src/models/components/readbatch.ts +2 -2
- package/src/models/components/readevent.ts +36 -139
- package/src/models/components/retentionpolicy.ts +12 -0
- package/src/models/components/streamposition.ts +1 -1
- package/src/models/components/timestampingconfig.ts +1 -1
- package/src/models/errors/appendconditionfailed.ts +1 -1
- package/src/models/operations/accountmetrics.ts +4 -4
- package/src/models/operations/append.ts +3 -2
- package/src/models/operations/basinmetrics.ts +4 -4
- package/src/models/operations/createorreconfigurebasin.ts +1 -1
- package/src/models/operations/createorreconfigurestream.ts +1 -1
- package/src/models/operations/listaccesstokens.ts +2 -2
- package/src/models/operations/listbasins.ts +3 -4
- package/src/models/operations/liststreams.ts +3 -4
- package/src/models/operations/read.ts +4 -3
- package/src/sdk/basins.ts +1 -1
- package/src/sdk/metrics.ts +3 -3
- package/src/sdk/records.ts +1 -10
- package/src/types/constdatetime.ts +1 -1
|
@@ -6,8 +6,8 @@ import * as z from "zod";
|
|
|
6
6
|
import { ClosedEnum } from "../../types/enums.js";
|
|
7
7
|
|
|
8
8
|
export const AccountMetricSet = {
|
|
9
|
-
ActiveBasins: "
|
|
10
|
-
AccountOps: "
|
|
9
|
+
ActiveBasins: "active-basins",
|
|
10
|
+
AccountOps: "account-ops",
|
|
11
11
|
} as const;
|
|
12
12
|
export type AccountMetricSet = ClosedEnum<typeof AccountMetricSet>;
|
|
13
13
|
|
|
@@ -31,12 +31,8 @@ export type Accumulation = {
|
|
|
31
31
|
* Timeseries values.
|
|
32
32
|
*
|
|
33
33
|
* @remarks
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
* point.
|
|
37
|
-
*
|
|
38
|
-
* The data point represented the accumulated value for a bucket of time, starting
|
|
39
|
-
* at the provided epoch, lasting for the duration of the `bucket_length` parameter above.
|
|
34
|
+
* Each element is a tuple of a timestamp in Unix epoch seconds and a data point.
|
|
35
|
+
* The data point represents the accumulated value for a bucket of time starting at the provided timestamp, lasting for the duration of the `bucket_length` parameter.
|
|
40
36
|
*/
|
|
41
37
|
values: Array<Array<number | number>>;
|
|
42
38
|
};
|
|
@@ -15,19 +15,19 @@ import {
|
|
|
15
15
|
} from "./appendrecord.js";
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
|
-
* Payload of an
|
|
18
|
+
* Payload of an `append` request.
|
|
19
19
|
*/
|
|
20
20
|
export type AppendInput = {
|
|
21
21
|
/**
|
|
22
|
-
* Enforce a fencing token which
|
|
22
|
+
* Enforce a fencing token, which starts out as an empty string that can be overridden by a `fence` command record.
|
|
23
23
|
*/
|
|
24
24
|
fencingToken?: string | null | undefined;
|
|
25
25
|
matchSeqNum?: number | null | undefined;
|
|
26
26
|
/**
|
|
27
|
-
* Batch of records to append atomically, which must contain at least one record, and no more
|
|
27
|
+
* Batch of records to append atomically, which must contain at least one record, and no more than 1000.
|
|
28
28
|
*
|
|
29
29
|
* @remarks
|
|
30
|
-
*
|
|
30
|
+
* The total size of a batch of records may not exceed 1 MiB of metered bytes.
|
|
31
31
|
*/
|
|
32
32
|
records: Array<AppendRecord>;
|
|
33
33
|
};
|
|
@@ -16,17 +16,11 @@ import {
|
|
|
16
16
|
|
|
17
17
|
export type BasinConfig = {
|
|
18
18
|
/**
|
|
19
|
-
* Create stream on append if it doesn't exist,
|
|
20
|
-
*
|
|
21
|
-
* @remarks
|
|
22
|
-
* using the default stream configuration.
|
|
19
|
+
* Create stream on append if it doesn't exist, using the default stream configuration.
|
|
23
20
|
*/
|
|
24
21
|
createStreamOnAppend?: boolean | undefined;
|
|
25
22
|
/**
|
|
26
|
-
* Create stream on read if it doesn't exist,
|
|
27
|
-
*
|
|
28
|
-
* @remarks
|
|
29
|
-
* using the default stream configuration.
|
|
23
|
+
* Create stream on read if it doesn't exist, using the default stream configuration.
|
|
30
24
|
*/
|
|
31
25
|
createStreamOnRead?: boolean | undefined;
|
|
32
26
|
defaultStreamConfig?: StreamConfig | null | undefined;
|
|
@@ -7,11 +7,11 @@ import { ClosedEnum } from "../../types/enums.js";
|
|
|
7
7
|
|
|
8
8
|
export const BasinMetricSet = {
|
|
9
9
|
Storage: "storage",
|
|
10
|
-
AppendOps: "
|
|
11
|
-
ReadOps: "
|
|
12
|
-
ReadThroughput: "
|
|
13
|
-
AppendThroughput: "
|
|
14
|
-
BasinOps: "
|
|
10
|
+
AppendOps: "append-ops",
|
|
11
|
+
ReadOps: "read-ops",
|
|
12
|
+
ReadThroughput: "read-throughput",
|
|
13
|
+
AppendThroughput: "append-throughput",
|
|
14
|
+
BasinOps: "basin-ops",
|
|
15
15
|
} as const;
|
|
16
16
|
export type BasinMetricSet = ClosedEnum<typeof BasinMetricSet>;
|
|
17
17
|
|
|
@@ -25,8 +25,7 @@ export type CreateBasinRequest = {
|
|
|
25
25
|
* Basin name which must be globally unique.
|
|
26
26
|
*
|
|
27
27
|
* @remarks
|
|
28
|
-
* It can be between 8 and 48 characters in length,
|
|
29
|
-
* and comprise lowercase letters, numbers and hyphens.
|
|
28
|
+
* It can be between 8 and 48 characters in length, and comprise lowercase letters, numbers and hyphens.
|
|
30
29
|
* It cannot begin or end with a hyphen.
|
|
31
30
|
*/
|
|
32
31
|
basin: string;
|
|
@@ -24,11 +24,8 @@ export type Gauge = {
|
|
|
24
24
|
* Timeseries values.
|
|
25
25
|
*
|
|
26
26
|
* @remarks
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
* point.
|
|
30
|
-
*
|
|
31
|
-
* The data point represents the value at the instant of the epoch.
|
|
27
|
+
* Each element is a tuple of a timestamp in Unix epoch seconds and a data point.
|
|
28
|
+
* The data point represents the value at the instant of the timestamp.
|
|
32
29
|
*/
|
|
33
30
|
values: Array<Array<number | number>>;
|
|
34
31
|
};
|
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
|
|
17
17
|
export type ListAccessTokensResponse = {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Matching access tokens.
|
|
20
20
|
*/
|
|
21
21
|
accessTokens: Array<AccessTokenInfo>;
|
|
22
22
|
/**
|
|
23
|
-
* Indicates that there are more
|
|
23
|
+
* Indicates that there are more access tokens that match the criteria.
|
|
24
24
|
*/
|
|
25
25
|
hasMore: boolean;
|
|
26
26
|
};
|
|
@@ -32,21 +32,21 @@ import {
|
|
|
32
32
|
} from "./scalar.js";
|
|
33
33
|
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* Set of string labels.
|
|
36
36
|
*/
|
|
37
37
|
export type Four = {
|
|
38
38
|
label: Label;
|
|
39
39
|
};
|
|
40
40
|
|
|
41
41
|
/**
|
|
42
|
-
*
|
|
42
|
+
* Named series of `(timestamp, value)` points each representing an instantaneous value.
|
|
43
43
|
*/
|
|
44
44
|
export type Three = {
|
|
45
45
|
gauge: Gauge;
|
|
46
46
|
};
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
49
|
+
* Named series of `(timestamp, value)` points representing an accumulation over a specified
|
|
50
50
|
*
|
|
51
51
|
* @remarks
|
|
52
52
|
* bucket.
|
|
@@ -56,7 +56,7 @@ export type Two = {
|
|
|
56
56
|
};
|
|
57
57
|
|
|
58
58
|
/**
|
|
59
|
-
*
|
|
59
|
+
* Single named value.
|
|
60
60
|
*/
|
|
61
61
|
export type Metric1 = {
|
|
62
62
|
scalar: Scalar;
|
|
@@ -21,10 +21,10 @@ import {
|
|
|
21
21
|
|
|
22
22
|
export type ReadBatch = {
|
|
23
23
|
/**
|
|
24
|
-
* Records that are durably sequenced on the stream,
|
|
24
|
+
* Records that are durably sequenced on the stream, retrieved based on the requested criteria.
|
|
25
25
|
*
|
|
26
26
|
* @remarks
|
|
27
|
-
*
|
|
27
|
+
* This can only be empty in response to a regular (non-SSE) read, if the request cannot be satisfied without violating an explicit limit.
|
|
28
28
|
*/
|
|
29
29
|
records: Array<SequencedRecord>;
|
|
30
30
|
tail?: StreamPosition | null | undefined;
|
|
@@ -19,40 +19,24 @@ import {
|
|
|
19
19
|
ReadBatch$Outbound,
|
|
20
20
|
ReadBatch$outboundSchema,
|
|
21
21
|
} from "./readbatch.js";
|
|
22
|
-
import {
|
|
23
|
-
TailResponse,
|
|
24
|
-
TailResponse$inboundSchema,
|
|
25
|
-
TailResponse$Outbound,
|
|
26
|
-
TailResponse$outboundSchema,
|
|
27
|
-
} from "./tailresponse.js";
|
|
28
22
|
|
|
29
|
-
export const
|
|
23
|
+
export const ReadEvent3Event = {
|
|
30
24
|
Ping: "ping",
|
|
31
25
|
} as const;
|
|
32
|
-
export type
|
|
26
|
+
export type ReadEvent3Event = ClosedEnum<typeof ReadEvent3Event>;
|
|
33
27
|
|
|
34
28
|
export type Ping = {
|
|
35
29
|
data: PingEventData;
|
|
36
|
-
event: ReadEvent4Event;
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
export const ReadEvent3Event = {
|
|
40
|
-
Error: "error",
|
|
41
|
-
} as const;
|
|
42
|
-
export type ReadEvent3Event = ClosedEnum<typeof ReadEvent3Event>;
|
|
43
|
-
|
|
44
|
-
export type ErrorT = {
|
|
45
|
-
data: string;
|
|
46
30
|
event: ReadEvent3Event;
|
|
47
31
|
};
|
|
48
32
|
|
|
49
33
|
export const ReadEventEvent = {
|
|
50
|
-
|
|
34
|
+
Error: "error",
|
|
51
35
|
} as const;
|
|
52
36
|
export type ReadEventEvent = ClosedEnum<typeof ReadEventEvent>;
|
|
53
37
|
|
|
54
|
-
export type
|
|
55
|
-
data:
|
|
38
|
+
export type ErrorT = {
|
|
39
|
+
data: string;
|
|
56
40
|
event: ReadEventEvent;
|
|
57
41
|
};
|
|
58
42
|
|
|
@@ -67,27 +51,27 @@ export type Batch = {
|
|
|
67
51
|
id: string;
|
|
68
52
|
};
|
|
69
53
|
|
|
70
|
-
export type ReadEvent =
|
|
54
|
+
export type ReadEvent = Batch | ErrorT | Ping;
|
|
71
55
|
|
|
72
56
|
/** @internal */
|
|
73
|
-
export const
|
|
74
|
-
typeof
|
|
75
|
-
> = z.nativeEnum(
|
|
57
|
+
export const ReadEvent3Event$inboundSchema: z.ZodNativeEnum<
|
|
58
|
+
typeof ReadEvent3Event
|
|
59
|
+
> = z.nativeEnum(ReadEvent3Event);
|
|
76
60
|
|
|
77
61
|
/** @internal */
|
|
78
|
-
export const
|
|
79
|
-
typeof
|
|
80
|
-
> =
|
|
62
|
+
export const ReadEvent3Event$outboundSchema: z.ZodNativeEnum<
|
|
63
|
+
typeof ReadEvent3Event
|
|
64
|
+
> = ReadEvent3Event$inboundSchema;
|
|
81
65
|
|
|
82
66
|
/**
|
|
83
67
|
* @internal
|
|
84
68
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
85
69
|
*/
|
|
86
|
-
export namespace
|
|
87
|
-
/** @deprecated use `
|
|
88
|
-
export const inboundSchema =
|
|
89
|
-
/** @deprecated use `
|
|
90
|
-
export const outboundSchema =
|
|
70
|
+
export namespace ReadEvent3Event$ {
|
|
71
|
+
/** @deprecated use `ReadEvent3Event$inboundSchema` instead. */
|
|
72
|
+
export const inboundSchema = ReadEvent3Event$inboundSchema;
|
|
73
|
+
/** @deprecated use `ReadEvent3Event$outboundSchema` instead. */
|
|
74
|
+
export const outboundSchema = ReadEvent3Event$outboundSchema;
|
|
91
75
|
}
|
|
92
76
|
|
|
93
77
|
/** @internal */
|
|
@@ -104,7 +88,7 @@ export const Ping$inboundSchema: z.ZodType<Ping, z.ZodTypeDef, unknown> = z
|
|
|
104
88
|
return z.NEVER;
|
|
105
89
|
}
|
|
106
90
|
}).pipe(PingEventData$inboundSchema),
|
|
107
|
-
event:
|
|
91
|
+
event: ReadEvent3Event$inboundSchema,
|
|
108
92
|
});
|
|
109
93
|
|
|
110
94
|
/** @internal */
|
|
@@ -117,7 +101,7 @@ export type Ping$Outbound = {
|
|
|
117
101
|
export const Ping$outboundSchema: z.ZodType<Ping$Outbound, z.ZodTypeDef, Ping> =
|
|
118
102
|
z.object({
|
|
119
103
|
data: PingEventData$outboundSchema,
|
|
120
|
-
event:
|
|
104
|
+
event: ReadEvent3Event$outboundSchema,
|
|
121
105
|
});
|
|
122
106
|
|
|
123
107
|
/**
|
|
@@ -148,31 +132,31 @@ export function pingFromJSON(
|
|
|
148
132
|
}
|
|
149
133
|
|
|
150
134
|
/** @internal */
|
|
151
|
-
export const
|
|
152
|
-
typeof
|
|
153
|
-
> = z.nativeEnum(
|
|
135
|
+
export const ReadEventEvent$inboundSchema: z.ZodNativeEnum<
|
|
136
|
+
typeof ReadEventEvent
|
|
137
|
+
> = z.nativeEnum(ReadEventEvent);
|
|
154
138
|
|
|
155
139
|
/** @internal */
|
|
156
|
-
export const
|
|
157
|
-
typeof
|
|
158
|
-
> =
|
|
140
|
+
export const ReadEventEvent$outboundSchema: z.ZodNativeEnum<
|
|
141
|
+
typeof ReadEventEvent
|
|
142
|
+
> = ReadEventEvent$inboundSchema;
|
|
159
143
|
|
|
160
144
|
/**
|
|
161
145
|
* @internal
|
|
162
146
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
163
147
|
*/
|
|
164
|
-
export namespace
|
|
165
|
-
/** @deprecated use `
|
|
166
|
-
export const inboundSchema =
|
|
167
|
-
/** @deprecated use `
|
|
168
|
-
export const outboundSchema =
|
|
148
|
+
export namespace ReadEventEvent$ {
|
|
149
|
+
/** @deprecated use `ReadEventEvent$inboundSchema` instead. */
|
|
150
|
+
export const inboundSchema = ReadEventEvent$inboundSchema;
|
|
151
|
+
/** @deprecated use `ReadEventEvent$outboundSchema` instead. */
|
|
152
|
+
export const outboundSchema = ReadEventEvent$outboundSchema;
|
|
169
153
|
}
|
|
170
154
|
|
|
171
155
|
/** @internal */
|
|
172
156
|
export const ErrorT$inboundSchema: z.ZodType<ErrorT, z.ZodTypeDef, unknown> = z
|
|
173
157
|
.object({
|
|
174
158
|
data: z.string(),
|
|
175
|
-
event:
|
|
159
|
+
event: ReadEventEvent$inboundSchema,
|
|
176
160
|
});
|
|
177
161
|
|
|
178
162
|
/** @internal */
|
|
@@ -188,7 +172,7 @@ export const ErrorT$outboundSchema: z.ZodType<
|
|
|
188
172
|
ErrorT
|
|
189
173
|
> = z.object({
|
|
190
174
|
data: z.string(),
|
|
191
|
-
event:
|
|
175
|
+
event: ReadEventEvent$outboundSchema,
|
|
192
176
|
});
|
|
193
177
|
|
|
194
178
|
/**
|
|
@@ -218,90 +202,6 @@ export function errorFromJSON(
|
|
|
218
202
|
);
|
|
219
203
|
}
|
|
220
204
|
|
|
221
|
-
/** @internal */
|
|
222
|
-
export const ReadEventEvent$inboundSchema: z.ZodNativeEnum<
|
|
223
|
-
typeof ReadEventEvent
|
|
224
|
-
> = z.nativeEnum(ReadEventEvent);
|
|
225
|
-
|
|
226
|
-
/** @internal */
|
|
227
|
-
export const ReadEventEvent$outboundSchema: z.ZodNativeEnum<
|
|
228
|
-
typeof ReadEventEvent
|
|
229
|
-
> = ReadEventEvent$inboundSchema;
|
|
230
|
-
|
|
231
|
-
/**
|
|
232
|
-
* @internal
|
|
233
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
234
|
-
*/
|
|
235
|
-
export namespace ReadEventEvent$ {
|
|
236
|
-
/** @deprecated use `ReadEventEvent$inboundSchema` instead. */
|
|
237
|
-
export const inboundSchema = ReadEventEvent$inboundSchema;
|
|
238
|
-
/** @deprecated use `ReadEventEvent$outboundSchema` instead. */
|
|
239
|
-
export const outboundSchema = ReadEventEvent$outboundSchema;
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
/** @internal */
|
|
243
|
-
export const ReadEvent2$inboundSchema: z.ZodType<
|
|
244
|
-
ReadEvent2,
|
|
245
|
-
z.ZodTypeDef,
|
|
246
|
-
unknown
|
|
247
|
-
> = z.object({
|
|
248
|
-
data: z.string().transform((v, ctx) => {
|
|
249
|
-
try {
|
|
250
|
-
return JSON.parse(v);
|
|
251
|
-
} catch (err) {
|
|
252
|
-
ctx.addIssue({
|
|
253
|
-
code: z.ZodIssueCode.custom,
|
|
254
|
-
message: `malformed json: ${err}`,
|
|
255
|
-
});
|
|
256
|
-
return z.NEVER;
|
|
257
|
-
}
|
|
258
|
-
}).pipe(TailResponse$inboundSchema),
|
|
259
|
-
event: ReadEventEvent$inboundSchema,
|
|
260
|
-
});
|
|
261
|
-
|
|
262
|
-
/** @internal */
|
|
263
|
-
export type ReadEvent2$Outbound = {
|
|
264
|
-
data: TailResponse$Outbound;
|
|
265
|
-
event: string;
|
|
266
|
-
};
|
|
267
|
-
|
|
268
|
-
/** @internal */
|
|
269
|
-
export const ReadEvent2$outboundSchema: z.ZodType<
|
|
270
|
-
ReadEvent2$Outbound,
|
|
271
|
-
z.ZodTypeDef,
|
|
272
|
-
ReadEvent2
|
|
273
|
-
> = z.object({
|
|
274
|
-
data: TailResponse$outboundSchema,
|
|
275
|
-
event: ReadEventEvent$outboundSchema,
|
|
276
|
-
});
|
|
277
|
-
|
|
278
|
-
/**
|
|
279
|
-
* @internal
|
|
280
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
281
|
-
*/
|
|
282
|
-
export namespace ReadEvent2$ {
|
|
283
|
-
/** @deprecated use `ReadEvent2$inboundSchema` instead. */
|
|
284
|
-
export const inboundSchema = ReadEvent2$inboundSchema;
|
|
285
|
-
/** @deprecated use `ReadEvent2$outboundSchema` instead. */
|
|
286
|
-
export const outboundSchema = ReadEvent2$outboundSchema;
|
|
287
|
-
/** @deprecated use `ReadEvent2$Outbound` instead. */
|
|
288
|
-
export type Outbound = ReadEvent2$Outbound;
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
export function readEvent2ToJSON(readEvent2: ReadEvent2): string {
|
|
292
|
-
return JSON.stringify(ReadEvent2$outboundSchema.parse(readEvent2));
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
export function readEvent2FromJSON(
|
|
296
|
-
jsonString: string,
|
|
297
|
-
): SafeParseResult<ReadEvent2, SDKValidationError> {
|
|
298
|
-
return safeParse(
|
|
299
|
-
jsonString,
|
|
300
|
-
(x) => ReadEvent2$inboundSchema.parse(JSON.parse(x)),
|
|
301
|
-
`Failed to parse 'ReadEvent2' from JSON`,
|
|
302
|
-
);
|
|
303
|
-
}
|
|
304
|
-
|
|
305
205
|
/** @internal */
|
|
306
206
|
export const Event$inboundSchema: z.ZodNativeEnum<typeof Event> = z.nativeEnum(
|
|
307
207
|
Event,
|
|
@@ -391,18 +291,16 @@ export const ReadEvent$inboundSchema: z.ZodType<
|
|
|
391
291
|
z.ZodTypeDef,
|
|
392
292
|
unknown
|
|
393
293
|
> = z.union([
|
|
394
|
-
z.lazy(() =>
|
|
294
|
+
z.lazy(() => Batch$inboundSchema),
|
|
395
295
|
z.lazy(() => ErrorT$inboundSchema),
|
|
396
296
|
z.lazy(() => Ping$inboundSchema),
|
|
397
|
-
z.lazy(() => Batch$inboundSchema),
|
|
398
297
|
]);
|
|
399
298
|
|
|
400
299
|
/** @internal */
|
|
401
300
|
export type ReadEvent$Outbound =
|
|
402
|
-
|
|
|
301
|
+
| Batch$Outbound
|
|
403
302
|
| ErrorT$Outbound
|
|
404
|
-
| Ping$Outbound
|
|
405
|
-
| Batch$Outbound;
|
|
303
|
+
| Ping$Outbound;
|
|
406
304
|
|
|
407
305
|
/** @internal */
|
|
408
306
|
export const ReadEvent$outboundSchema: z.ZodType<
|
|
@@ -410,10 +308,9 @@ export const ReadEvent$outboundSchema: z.ZodType<
|
|
|
410
308
|
z.ZodTypeDef,
|
|
411
309
|
ReadEvent
|
|
412
310
|
> = z.union([
|
|
413
|
-
z.lazy(() =>
|
|
311
|
+
z.lazy(() => Batch$outboundSchema),
|
|
414
312
|
z.lazy(() => ErrorT$outboundSchema),
|
|
415
313
|
z.lazy(() => Ping$outboundSchema),
|
|
416
|
-
z.lazy(() => Batch$outboundSchema),
|
|
417
314
|
]);
|
|
418
315
|
|
|
419
316
|
/**
|
|
@@ -7,7 +7,19 @@ import { safeParse } from "../../lib/schemas.js";
|
|
|
7
7
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
8
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
9
|
|
|
10
|
+
/**
|
|
11
|
+
* Age in seconds for automatic trimming of records older than this threshold.
|
|
12
|
+
*
|
|
13
|
+
* @remarks
|
|
14
|
+
* If this is set to 0, the stream will have infinite retention.
|
|
15
|
+
*/
|
|
10
16
|
export type One = {
|
|
17
|
+
/**
|
|
18
|
+
* Age in seconds for automatic trimming of records older than this threshold.
|
|
19
|
+
*
|
|
20
|
+
* @remarks
|
|
21
|
+
* If this is set to 0, the stream will have infinite retention.
|
|
22
|
+
*/
|
|
11
23
|
age: number;
|
|
12
24
|
};
|
|
13
25
|
|
|
@@ -17,7 +17,7 @@ export type StreamPosition = {
|
|
|
17
17
|
*/
|
|
18
18
|
seqNum: number;
|
|
19
19
|
/**
|
|
20
|
-
* Timestamp, which may be
|
|
20
|
+
* Timestamp, which may be client-specified or assigned by the service.
|
|
21
21
|
*
|
|
22
22
|
* @remarks
|
|
23
23
|
* If it is assigned by the service, it will represent milliseconds since Unix epoch.
|
|
@@ -18,7 +18,7 @@ export type TimestampingConfig = {
|
|
|
18
18
|
* Allow client-specified timestamps to exceed the arrival time.
|
|
19
19
|
*
|
|
20
20
|
* @remarks
|
|
21
|
-
* If this is false or not set, client timestamps will be capped at the arrival time.
|
|
21
|
+
* If this is `false` or not set, client timestamps will be capped at the arrival time.
|
|
22
22
|
*/
|
|
23
23
|
uncapped?: boolean | null | undefined;
|
|
24
24
|
};
|
|
@@ -108,7 +108,7 @@ export class FencingToken extends S2Error {
|
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
/**
|
|
111
|
-
*
|
|
111
|
+
* Aborted due to a failed condition.
|
|
112
112
|
*/
|
|
113
113
|
export type AppendConditionFailed = FencingToken | SeqNum;
|
|
114
114
|
|
|
@@ -10,19 +10,19 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
10
10
|
|
|
11
11
|
export type AccountMetricsRequest = {
|
|
12
12
|
/**
|
|
13
|
-
* Metric
|
|
13
|
+
* Metric set to return.
|
|
14
14
|
*/
|
|
15
15
|
set: components.AccountMetricSet;
|
|
16
16
|
/**
|
|
17
|
-
* Start timestamp
|
|
17
|
+
* Start timestamp as Unix epoch seconds, if applicable for the metric set.
|
|
18
18
|
*/
|
|
19
19
|
start?: number | undefined;
|
|
20
20
|
/**
|
|
21
|
-
* End timestamp
|
|
21
|
+
* End timestamp as Unix epoch seconds, if applicable for the metric set.
|
|
22
22
|
*/
|
|
23
23
|
end?: number | undefined;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Interval to aggregate over for timeseries metric sets.
|
|
26
26
|
*/
|
|
27
27
|
interval?: components.TimeseriesInterval | undefined;
|
|
28
28
|
};
|
|
@@ -22,10 +22,11 @@ export type AppendRequest = {
|
|
|
22
22
|
*/
|
|
23
23
|
stream: string;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Defines the interpretation of record data (header name, header value, and body) with the JSON content type.
|
|
26
26
|
*
|
|
27
27
|
* @remarks
|
|
28
|
-
*
|
|
28
|
+
* Use `raw` (default) for efficient transmission and storage of Unicode data — storage will be in UTF-8.
|
|
29
|
+
* Use `base64` for safe transmission with efficient storage of binary data.
|
|
29
30
|
*/
|
|
30
31
|
s2Format?: components.S2Format | undefined;
|
|
31
32
|
/**
|
|
@@ -10,19 +10,19 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
10
10
|
|
|
11
11
|
export type BasinMetricsRequest = {
|
|
12
12
|
/**
|
|
13
|
-
* Metric
|
|
13
|
+
* Metric set to return.
|
|
14
14
|
*/
|
|
15
15
|
set: components.BasinMetricSet;
|
|
16
16
|
/**
|
|
17
|
-
* Start timestamp
|
|
17
|
+
* Start timestamp as Unix epoch seconds, if applicable for the metric set.
|
|
18
18
|
*/
|
|
19
19
|
start?: number | undefined;
|
|
20
20
|
/**
|
|
21
|
-
* End timestamp
|
|
21
|
+
* End timestamp as Unix epoch seconds, if applicable for the metric set.
|
|
22
22
|
*/
|
|
23
23
|
end?: number | undefined;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Interval to aggregate over for timeseries metric sets.
|
|
26
26
|
*/
|
|
27
27
|
interval?: components.TimeseriesInterval | undefined;
|
|
28
28
|
/**
|
|
@@ -11,7 +11,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
11
11
|
|
|
12
12
|
export type CreateOrReconfigureBasinRequest = {
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Client-specified request token for idempotent retries.
|
|
15
15
|
*/
|
|
16
16
|
s2RequestToken?: string | undefined;
|
|
17
17
|
/**
|
|
@@ -22,7 +22,7 @@ export type CreateOrReconfigureStreamRequest = {
|
|
|
22
22
|
*/
|
|
23
23
|
stream: string;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Client-specified request token for idempotent retries.
|
|
26
26
|
*/
|
|
27
27
|
s2RequestToken?: string | undefined;
|
|
28
28
|
/**
|
|
@@ -10,11 +10,11 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
10
10
|
|
|
11
11
|
export type ListAccessTokensRequest = {
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Filter to access tokens whose ID begins with this prefix.
|
|
14
14
|
*/
|
|
15
15
|
prefix?: string | undefined;
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Filter to access tokens whose ID lexicographically starts after this string.
|
|
18
18
|
*/
|
|
19
19
|
startAfter?: string | undefined;
|
|
20
20
|
/**
|
|
@@ -11,15 +11,14 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
11
11
|
|
|
12
12
|
export type ListBasinsRequest = {
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Filter to basins whose names begin with this prefix.
|
|
15
15
|
*/
|
|
16
16
|
prefix?: string | undefined;
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Filter to basins whose names lexicographically start after this string.
|
|
19
19
|
*
|
|
20
20
|
* @remarks
|
|
21
|
-
*
|
|
22
|
-
* It must be greater than or equal to the `prefix` if that is specified.
|
|
21
|
+
* It must be greater than or equal to the `prefix` if specified.
|
|
23
22
|
*/
|
|
24
23
|
startAfter?: string | undefined;
|
|
25
24
|
/**
|