@aws-sdk/client-dynamodb 3.1102.0 → 3.1103.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/README.md +7 -0
  2. package/dist-cjs/index.js +327 -144
  3. package/dist-es/DynamoDB.js +2 -0
  4. package/dist-es/commandBuilder.js +5 -1
  5. package/dist-es/commands/SearchVectorsCommand.js +4 -0
  6. package/dist-es/commands/TransactGetItemsCommand.js +2 -2
  7. package/dist-es/commands/TransactWriteItemsCommand.js +2 -2
  8. package/dist-es/commands/index.js +1 -0
  9. package/dist-es/endpoint/bdd.js +136 -108
  10. package/dist-es/endpoint/endpointResolver.js +1 -0
  11. package/dist-es/models/enums.js +9 -0
  12. package/dist-es/schemas/schemas_0.js +153 -32
  13. package/dist-types/DynamoDB.d.ts +7 -0
  14. package/dist-types/DynamoDBClient.d.ts +3 -2
  15. package/dist-types/commandBuilder.d.ts +4 -0
  16. package/dist-types/commands/BatchExecuteStatementCommand.d.ts +6 -0
  17. package/dist-types/commands/BatchGetItemCommand.d.ts +6 -0
  18. package/dist-types/commands/BatchWriteItemCommand.d.ts +12 -7
  19. package/dist-types/commands/CreateTableCommand.d.ts +49 -0
  20. package/dist-types/commands/DeleteBackupCommand.d.ts +22 -0
  21. package/dist-types/commands/DeleteItemCommand.d.ts +6 -0
  22. package/dist-types/commands/DeleteTableCommand.d.ts +27 -0
  23. package/dist-types/commands/DescribeBackupCommand.d.ts +22 -0
  24. package/dist-types/commands/DescribeImportCommand.d.ts +22 -0
  25. package/dist-types/commands/DescribeTableCommand.d.ts +27 -0
  26. package/dist-types/commands/ExecuteStatementCommand.d.ts +6 -0
  27. package/dist-types/commands/ExecuteTransactionCommand.d.ts +10 -1
  28. package/dist-types/commands/GetItemCommand.d.ts +6 -0
  29. package/dist-types/commands/ImportTableCommand.d.ts +44 -0
  30. package/dist-types/commands/PutItemCommand.d.ts +6 -0
  31. package/dist-types/commands/QueryCommand.d.ts +6 -0
  32. package/dist-types/commands/RestoreTableFromBackupCommand.d.ts +49 -0
  33. package/dist-types/commands/RestoreTableToPointInTimeCommand.d.ts +49 -0
  34. package/dist-types/commands/ScanCommand.d.ts +6 -0
  35. package/dist-types/commands/SearchVectorsCommand.d.ts +295 -0
  36. package/dist-types/commands/TransactGetItemsCommand.d.ts +10 -1
  37. package/dist-types/commands/TransactWriteItemsCommand.d.ts +10 -1
  38. package/dist-types/commands/UpdateItemCommand.d.ts +6 -0
  39. package/dist-types/commands/UpdateTableCommand.d.ts +54 -0
  40. package/dist-types/commands/index.d.ts +1 -0
  41. package/dist-types/endpoint/EndpointParameters.d.ts +1 -0
  42. package/dist-types/models/enums.d.ts +25 -0
  43. package/dist-types/models/errors.d.ts +4 -1
  44. package/dist-types/models/models_0.d.ts +631 -4
  45. package/dist-types/schemas/schemas_0.d.ts +13 -0
  46. package/dist-types/ts3.4/DynamoDB.d.ts +17 -0
  47. package/dist-types/ts3.4/DynamoDBClient.d.ts +6 -0
  48. package/dist-types/ts3.4/commandBuilder.d.ts +1 -0
  49. package/dist-types/ts3.4/commands/SearchVectorsCommand.d.ts +38 -0
  50. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  51. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -0
  52. package/dist-types/ts3.4/models/enums.d.ts +13 -0
  53. package/dist-types/ts3.4/models/models_0.d.ts +84 -0
  54. package/dist-types/ts3.4/schemas/schemas_0.d.ts +13 -0
  55. package/package.json +4 -4
@@ -43,6 +43,7 @@ import { QueryCommand } from "./commands/QueryCommand";
43
43
  import { RestoreTableFromBackupCommand, } from "./commands/RestoreTableFromBackupCommand";
44
44
  import { RestoreTableToPointInTimeCommand, } from "./commands/RestoreTableToPointInTimeCommand";
45
45
  import { ScanCommand } from "./commands/ScanCommand";
46
+ import { SearchVectorsCommand, } from "./commands/SearchVectorsCommand";
46
47
  import { TagResourceCommand, } from "./commands/TagResourceCommand";
47
48
  import { TransactGetItemsCommand, } from "./commands/TransactGetItemsCommand";
48
49
  import { TransactWriteItemsCommand, } from "./commands/TransactWriteItemsCommand";
@@ -114,6 +115,7 @@ const commands = {
114
115
  RestoreTableFromBackupCommand,
115
116
  RestoreTableToPointInTimeCommand,
116
117
  ScanCommand,
118
+ SearchVectorsCommand,
117
119
  TagResourceCommand,
118
120
  TransactGetItemsCommand,
119
121
  TransactWriteItemsCommand,
@@ -34,9 +34,13 @@ export const _ep10 = {
34
34
  ResourceArn: { type: "contextParams", name: "TargetTableName" },
35
35
  };
36
36
  export const _ep11 = {
37
- ResourceArnList: { type: "operationContextParams", get: (input) => input?.TransactItems?.map((obj) => obj?.Get?.TableName) },
37
+ IsSearchOperation: { type: "staticContextParams", value: true },
38
+ ResourceArn: { type: "contextParams", name: "TableName" },
38
39
  };
39
40
  export const _ep12 = {
41
+ ResourceArnList: { type: "operationContextParams", get: (input) => input?.TransactItems?.map((obj) => obj?.Get?.TableName) },
42
+ };
43
+ export const _ep13 = {
40
44
  ResourceArnList: { type: "operationContextParams", get: (input) => input?.TransactItems?.map((obj) => [obj?.ConditionCheck?.TableName, obj?.Put?.TableName, obj?.Delete?.TableName, obj?.Update?.TableName].filter((i) => i)).flat() },
41
45
  };
42
46
  export const _mw0 = (Command, cs, config, o) => [];
@@ -0,0 +1,4 @@
1
+ import { _ep11, _mw0, command } from "../commandBuilder";
2
+ import { SearchVectors$ } from "../schemas/schemas_0";
3
+ export class SearchVectorsCommand extends command(_ep11, _mw0, "SearchVectors", SearchVectors$) {
4
+ }
@@ -1,4 +1,4 @@
1
- import { _ep11, _mw0, command } from "../commandBuilder";
1
+ import { _ep12, _mw0, command } from "../commandBuilder";
2
2
  import { TransactGetItems$ } from "../schemas/schemas_0";
3
- export class TransactGetItemsCommand extends command(_ep11, _mw0, "TransactGetItems", TransactGetItems$) {
3
+ export class TransactGetItemsCommand extends command(_ep12, _mw0, "TransactGetItems", TransactGetItems$) {
4
4
  }
@@ -1,4 +1,4 @@
1
- import { _ep12, _mw0, command } from "../commandBuilder";
1
+ import { _ep13, _mw0, command } from "../commandBuilder";
2
2
  import { TransactWriteItems$ } from "../schemas/schemas_0";
3
- export class TransactWriteItemsCommand extends command(_ep12, _mw0, "TransactWriteItems", TransactWriteItems$) {
3
+ export class TransactWriteItemsCommand extends command(_ep13, _mw0, "TransactWriteItems", TransactWriteItems$) {
4
4
  }
@@ -42,6 +42,7 @@ export * from "./QueryCommand";
42
42
  export * from "./RestoreTableFromBackupCommand";
43
43
  export * from "./RestoreTableToPointInTimeCommand";
44
44
  export * from "./ScanCommand";
45
+ export * from "./SearchVectorsCommand";
45
46
  export * from "./TagResourceCommand";
46
47
  export * from "./TransactGetItemsCommand";
47
48
  export * from "./TransactWriteItemsCommand";
@@ -1,64 +1,77 @@
1
1
  import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
2
- const I = "ref", J = "argv";
3
- const a = -1, b = true, c = false, d = "isSet", e = "booleanEquals", f = "PartitionResult", g = "stringEquals", h = "getAttr", i = "https://dynamodb.{Region}.{PartitionResult#dualStackDnsSuffix}", j = "aws.parseArn", k = (n) => "ParsedArn_ssa_" + n + "", l = "service", m = "dynamodb", n = "isValidHostLabel", o = "accountId", p = "FirstArn", q = (n) => "https://{ParsedArn_ssa_" + n + "#accountId}.ddb.{Region}.{PartitionResult#dualStackDnsSuffix}", s = (n) => "https://{ParsedArn_ssa_" + n + "#accountId}.ddb.{Region}.{PartitionResult#dnsSuffix}", t = { [I]: "Endpoint" }, u = { [I]: "Region" }, v = { [I]: f }, w = { [I]: "AccountIdEndpointMode" }, x = { "fn": h, [J]: [v, "name"] }, y = { "fn": h, [J]: [{ [I]: "ParsedArn_ssa_2" }, "region"] }, z = { [I]: "ParsedArn_ssa_2" }, A = { [I]: "ResourceArnList" }, B = { "fn": h, [J]: [{ [I]: "ParsedArn_ssa_1" }, "region"] }, C = { [I]: "ParsedArn_ssa_1" }, D = { [I]: "AccountId" }, E = {}, F = { "metricValues": ["O"] }, G = [u], H = [{ [I]: "ResourceArn" }];
2
+ const L = "ref", M = "argv";
3
+ const a = -1, b = true, c = false, d = "isSet", e = "booleanEquals", f = "PartitionResult", g = "stringEquals", h = "getAttr", i = "parsedEndpoint", j = "aws.parseArn", k = (n) => "ParsedArn_ssa_" + n + "", l = "service", m = "dynamodb", n = "isValidHostLabel", o = "accountId", p = "FirstArn", q = (n) => "https://{ParsedArn_ssa_" + n + "#accountId}.search-ddb.{Region}.{PartitionResult#dualStackDnsSuffix}", s = (n) => "https://{ParsedArn_ssa_" + n + "#accountId}.ddb.{Region}.{PartitionResult#dualStackDnsSuffix}", t = (n) => "https://{ParsedArn_ssa_" + n + "#accountId}.search-ddb.{Region}.{PartitionResult#dnsSuffix}", u = (n) => "https://{ParsedArn_ssa_" + n + "#accountId}.ddb.{Region}.{PartitionResult#dnsSuffix}", v = { [L]: "Region" }, w = { [L]: f }, x = { "fn": h, [M]: [{ [L]: i }, "authority"] }, y = { [L]: "AccountIdEndpointMode" }, z = { "fn": h, [M]: [w, "name"] }, A = { "fn": h, [M]: [{ [L]: "ParsedArn_ssa_2" }, "region"] }, B = { [L]: "ParsedArn_ssa_2" }, C = { [L]: "ResourceArnList" }, D = { "fn": h, [M]: [{ [L]: "ParsedArn_ssa_1" }, "region"] }, E = { [L]: "ParsedArn_ssa_1" }, F = { [L]: "AccountId" }, G = {}, H = { "metricValues": ["O"] }, I = [v], J = [{ [L]: "Endpoint" }], K = [{ [L]: "ResourceArn" }];
4
4
  const _data = {
5
5
  conditions: [
6
- [d, G],
7
- [d, [t]],
8
- [e, [{ [I]: "UseFIPS" }, b]],
9
- ["aws.partition", G, f],
10
- [g, [u, "local"]],
11
- [e, [{ fn: h, [J]: [v, "supportsFIPS"] }, b]],
12
- [e, [{ [I]: "UseDualStack" }, b]],
13
- [e, [{ fn: h, [J]: [v, "supportsDualStack"] }, b]],
14
- [g, [i, t]],
15
- [d, [w]],
16
- [g, [x, "aws"]],
17
- [g, [w, "disabled"]],
18
- [d, H],
19
- [j, H, k(2)],
20
- [g, [y, u]],
21
- [g, [{ fn: h, [J]: [z, l] }, m]],
22
- [n, [{ fn: h, [J]: [z, o] }, c]],
23
- [n, [y, c]],
24
- [d, [A]],
25
- [h, [A, "[0]"], p],
26
- [j, [{ [I]: p }], k(1)],
27
- [g, [B, u]],
28
- [g, [{ fn: h, [J]: [C, l] }, m]],
29
- [n, [{ fn: h, [J]: [C, o] }, c]],
30
- [n, [B, c]],
31
- [d, [D]],
32
- [g, [w, "required"]],
6
+ [d, I],
7
+ [d, J],
8
+ [e, [{ [L]: "UseFIPS" }, b]],
9
+ [e, [{ [L]: "UseDualStack" }, b]],
10
+ ["aws.partition", I, f],
11
+ [g, [v, "local"]],
12
+ [e, [{ fn: h, [M]: [w, "supportsFIPS"] }, b]],
13
+ ["parseURL", J, i],
14
+ [g, ["dynamodb.{Region}.{PartitionResult#dualStackDnsSuffix}", x]],
15
+ [e, [{ fn: h, [M]: [w, "supportsDualStack"] }, b]],
16
+ [g, ["search-dynamodb.{Region}.{PartitionResult#dualStackDnsSuffix}", x]],
17
+ [d, [y]],
18
+ [g, [z, "aws"]],
19
+ [g, [y, "disabled"]],
20
+ [d, K],
21
+ [j, K, k(2)],
22
+ [g, [A, v]],
23
+ [g, [{ fn: h, [M]: [B, l] }, m]],
24
+ [n, [A, c]],
25
+ [n, [{ fn: h, [M]: [B, o] }, c]],
26
+ [d, [C]],
27
+ [h, [C, "[0]"], p],
28
+ [j, [{ [L]: p }], k(1)],
29
+ [g, [D, v]],
30
+ [g, [{ fn: h, [M]: [E, l] }, m]],
31
+ [n, [{ fn: h, [M]: [E, o] }, c]],
33
32
  [n, [D, c]],
34
- [g, [x, "aws-us-gov"]]
33
+ [d, [F]],
34
+ [g, [y, "required"]],
35
+ [n, [F, c]],
36
+ [g, [z, "aws-us-gov"]],
37
+ [e, [{ fn: "coalesce", [M]: [{ [L]: "IsSearchOperation" }, c] }, b]]
35
38
  ],
36
39
  results: [
37
40
  [a],
38
41
  [a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
39
42
  [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
40
43
  [a, "Endpoint override is not supported for dual-stack endpoints. Please enable dual-stack functionality by enabling the configuration. For more details, see: https://docs.aws.amazon.com/sdkref/latest/guide/feature-endpoints.html"],
41
- ["{Endpoint}", E],
44
+ ["{Endpoint}", G],
42
45
  [a, "Invalid Configuration: FIPS and local endpoint are not supported"],
43
46
  [a, "Invalid Configuration: Dualstack and local endpoint are not supported"],
44
- ["http://localhost:8000", { authSchemes: [{ name: "sigv4", signingName: m, signingRegion: "us-east-1" }] }],
47
+ ["http://localhost:8000", { authSchemes: [{ signingRegion: "us-east-1", name: "sigv4", signingName: m }] }],
45
48
  [a, "Invalid Configuration: AccountIdEndpointMode is required and FIPS is enabled, but FIPS account endpoints are not supported"],
46
- ["https://dynamodb-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", E],
49
+ ["https://search-dynamodb-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", G],
50
+ ["https://dynamodb-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", G],
47
51
  [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
48
- ["https://dynamodb.{Region}.{PartitionResult#dnsSuffix}", E],
49
- ["https://dynamodb-fips.{Region}.{PartitionResult#dnsSuffix}", E],
52
+ ["https://search-dynamodb.{Region}.{PartitionResult#dnsSuffix}", G],
53
+ ["https://dynamodb.{Region}.{PartitionResult#dnsSuffix}", G],
54
+ ["https://search-dynamodb-fips.{Region}.{PartitionResult#dnsSuffix}", G],
55
+ ["https://dynamodb-fips.{Region}.{PartitionResult#dnsSuffix}", G],
50
56
  [a, "FIPS is enabled but this partition does not support FIPS"],
51
- [q(2), F],
52
- [q(1), F],
53
- ["https://{AccountId}.ddb.{Region}.{PartitionResult#dualStackDnsSuffix}", F],
57
+ [q(2), H],
58
+ [s(2), H],
59
+ [q(1), H],
60
+ [s(1), H],
61
+ ["https://{AccountId}.search-ddb.{Region}.{PartitionResult#dualStackDnsSuffix}", H],
62
+ ["https://{AccountId}.ddb.{Region}.{PartitionResult#dualStackDnsSuffix}", H],
54
63
  [a, "Credentials-sourced account ID parameter is invalid"],
55
64
  [a, "AccountIdEndpointMode is required but no AccountID was provided or able to be loaded"],
56
65
  [a, "Invalid Configuration: AccountIdEndpointMode is required but account endpoints are not supported in this partition"],
57
- [i, E],
66
+ ["https://search-dynamodb.{Region}.{PartitionResult#dualStackDnsSuffix}", G],
67
+ ["https://dynamodb.{Region}.{PartitionResult#dualStackDnsSuffix}", G],
58
68
  [a, "DualStack is enabled but this partition does not support DualStack"],
59
- [s(2), F],
60
- [s(1), F],
61
- ["https://{AccountId}.ddb.{Region}.{PartitionResult#dnsSuffix}", F],
69
+ [t(2), H],
70
+ [u(2), H],
71
+ [t(1), H],
72
+ [u(1), H],
73
+ ["https://{AccountId}.search-ddb.{Region}.{PartitionResult#dnsSuffix}", H],
74
+ ["https://{AccountId}.ddb.{Region}.{PartitionResult#dnsSuffix}", H],
62
75
  [a, "Invalid Configuration: Missing Region"]
63
76
  ]
64
77
  };
@@ -66,71 +79,86 @@ const root = 2;
66
79
  const r = 100_000_000;
67
80
  const nodes = new Int32Array([
68
81
  -1, 1, -1,
69
- 0, 5, 3,
70
- 1, 4, r + 25,
71
- 2, r + 1, 65,
72
- 1, 63, 6,
73
- 2, 52, 7,
74
- 3, 8, r + 25,
75
- 4, 51, 9,
76
- 6, 30, 10,
77
- 9, 11, r + 11,
78
- 10, 13, 12,
79
- 26, r + 19, r + 11,
80
- 11, 29, 14,
81
- 12, 15, 20,
82
- 13, 16, 20,
83
- 14, 17, 20,
84
- 15, 18, 20,
85
- 16, 19, 20,
86
- 17, r + 22, 20,
87
- 18, 21, 27,
88
- 19, 22, 27,
89
- 20, 23, 27,
90
- 21, 24, 27,
91
- 22, 25, 27,
92
- 23, 26, 27,
93
- 24, r + 23, 27,
94
- 25, 28, 29,
95
- 27, r + 24, r + 17,
96
- 26, r + 18, r + 11,
97
- 7, 31, r + 21,
98
- 9, 32, r + 20,
99
- 10, 34, 33,
100
- 26, r + 19, r + 20,
101
- 11, 50, 35,
102
- 12, 36, 41,
103
- 13, 37, 41,
104
- 14, 38, 41,
105
- 15, 39, 41,
106
- 16, 40, 41,
107
- 17, r + 14, 41,
108
- 18, 42, 48,
109
- 19, 43, 48,
110
- 20, 44, 48,
111
- 21, 45, 48,
112
- 22, 46, 48,
113
- 23, 47, 48,
114
- 24, r + 15, 48,
115
- 25, 49, 50,
116
- 27, r + 16, r + 17,
117
- 26, r + 18, r + 20,
118
- 6, r + 6, r + 7,
119
- 3, 53, r + 25,
120
- 4, r + 5, 54,
121
- 5, 56, 55,
122
- 6, r + 10, r + 13,
123
- 6, 60, 57,
124
- 9, 58, 59,
125
- 26, r + 8, 59,
126
- 28, r + 11, r + 12,
127
- 7, 61, r + 10,
128
- 9, 62, r + 9,
129
- 26, r + 8, r + 9,
130
- 2, r + 1, 64,
131
- 3, 66, 65,
132
- 6, r + 2, r + 4,
133
- 6, r + 2, 67,
134
- 8, r + 3, r + 4,
82
+ 0, 6, 3,
83
+ 1, 4, r + 35,
84
+ 2, r + 1, 5,
85
+ 3, r + 2, r + 4,
86
+ 1, 77, 7,
87
+ 2, 61, 8,
88
+ 3, 34, 9,
89
+ 4, 10, r + 35,
90
+ 5, r + 7, 11,
91
+ 11, 12, 69,
92
+ 12, 14, 13,
93
+ 28, r + 25, 69,
94
+ 13, 33, 15,
95
+ 14, 16, 21,
96
+ 15, 17, 21,
97
+ 16, 18, 21,
98
+ 17, 19, 21,
99
+ 18, 20, 21,
100
+ 19, 32, 21,
101
+ 20, 22, 28,
102
+ 21, 23, 28,
103
+ 22, 24, 28,
104
+ 23, 25, 28,
105
+ 24, 26, 28,
106
+ 25, 27, 28,
107
+ 26, 31, 28,
108
+ 27, 29, 33,
109
+ 29, 30, r + 23,
110
+ 31, r + 33, r + 34,
111
+ 31, r + 31, r + 32,
112
+ 31, r + 29, r + 30,
113
+ 28, r + 24, 69,
114
+ 4, 35, r + 35,
115
+ 5, r + 6, 36,
116
+ 9, 37, r + 28,
117
+ 11, 38, 60,
118
+ 12, 40, 39,
119
+ 28, r + 25, 60,
120
+ 13, 59, 41,
121
+ 14, 42, 47,
122
+ 15, 43, 47,
123
+ 16, 44, 47,
124
+ 17, 45, 47,
125
+ 18, 46, 47,
126
+ 19, 58, 47,
127
+ 20, 48, 54,
128
+ 21, 49, 54,
129
+ 22, 50, 54,
130
+ 23, 51, 54,
131
+ 24, 52, 54,
132
+ 25, 53, 54,
133
+ 26, 57, 54,
134
+ 27, 55, 59,
135
+ 29, 56, r + 23,
136
+ 31, r + 21, r + 22,
137
+ 31, r + 19, r + 20,
138
+ 31, r + 17, r + 18,
139
+ 28, r + 24, 60,
140
+ 31, r + 26, r + 27,
141
+ 3, 70, 62,
142
+ 4, 63, r + 35,
143
+ 5, r + 5, 64,
144
+ 6, 65, r + 16,
145
+ 11, 66, 67,
146
+ 28, r + 8, 67,
147
+ 30, 69, 68,
148
+ 31, r + 14, r + 15,
149
+ 31, r + 12, r + 13,
150
+ 4, 71, r + 35,
151
+ 5, r + 5, 72,
152
+ 6, 73, r + 11,
153
+ 9, 74, r + 11,
154
+ 11, 75, 76,
155
+ 28, r + 8, 76,
156
+ 31, r + 9, r + 10,
157
+ 2, r + 1, 78,
158
+ 3, r + 2, 79,
159
+ 4, 80, r + 4,
160
+ 7, 81, r + 4,
161
+ 8, r + 3, 82,
162
+ 10, r + 3, r + 4,
135
163
  ]);
136
164
  export const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
@@ -7,6 +7,7 @@ const cache = new EndpointCache({
7
7
  "AccountId",
8
8
  "AccountIdEndpointMode",
9
9
  "Endpoint",
10
+ "IsSearchOperation",
10
11
  "Region",
11
12
  "ResourceArn",
12
13
  "ResourceArnList",
@@ -58,6 +58,15 @@ export const TimeToLiveStatus = {
58
58
  ENABLED: "ENABLED",
59
59
  ENABLING: "ENABLING",
60
60
  };
61
+ export const VectorDistanceFunction = {
62
+ COSINE: "COSINE",
63
+ DOT_PRODUCT: "DOT_PRODUCT",
64
+ EUCLIDEAN: "EUCLIDEAN",
65
+ };
66
+ export const SearchSchemaElementType = {
67
+ HASH: "HASH",
68
+ INLINE_FILTER: "INLINE_FILTER",
69
+ };
61
70
  export const BackupTypeFilter = {
62
71
  ALL: "ALL",
63
72
  AWS_BACKUP: "AWS_BACKUP",