@aws-sdk/client-opensearchserverless 3.940.0 → 3.943.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -346,6 +346,7 @@ const _SPS = "SecurityPolicyStats";
346
346
  const _SPSe = "SecurityPolicySummary";
347
347
  const _SPSec = "SecurityPolicySummaries";
348
348
  const _SQEE = "ServiceQuotaExceededException";
349
+ const _SVA = "ServerlessVectorAcceleration";
349
350
  const _T = "Tag";
350
351
  const _TPC = "TotalPolicyCount";
351
352
  const _TR = "TagResource";
@@ -390,6 +391,7 @@ const _VEEDp = "VpcEndpointErrorDetails";
390
391
  const _VEF = "VpcEndpointFilters";
391
392
  const _VES = "VpcEndpointSummary";
392
393
  const _VESp = "VpcEndpointSummaries";
394
+ const _VO = "VectorOptions";
393
395
  const _a = "arn";
394
396
  const _aA = "applicationArn";
395
397
  const _aD = "applicationDescription";
@@ -488,6 +490,7 @@ const _vEED = "vpcEndpointErrorDetails";
488
490
  const _vEF = "vpcEndpointFilters";
489
491
  const _vES = "vpcEndpointSummaries";
490
492
  const _vI = "vpcId";
493
+ const _vO = "vectorOptions";
491
494
  const n0 = "com.amazonaws.opensearchserverless";
492
495
  var AccessPolicyDetail = [
493
496
  3,
@@ -563,8 +566,8 @@ var CollectionDetail = [
563
566
  n0,
564
567
  _CD,
565
568
  0,
566
- [_id_, _n, _s, _t, _d, _a, _kKA, _sR, _cD, _lMD, _cE, _dE, _fE, _fC, _fM],
567
- [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, () => FipsEndpoints, 0, 0],
569
+ [_id_, _n, _s, _t, _d, _a, _kKA, _sR, _vO, _cD, _lMD, _cE, _dE, _fE, _fC, _fM],
570
+ [0, 0, 0, 0, 0, 0, 0, 0, () => VectorOptions, 1, 1, 0, 0, () => FipsEndpoints, 0, 0],
568
571
  ];
569
572
  var CollectionErrorDetail = [3, n0, _CED, 0, [_id_, _n, _eM, _eC], [0, 0, 0, 0]];
570
573
  var CollectionFilters = [3, n0, _CF, 0, [_n, _s], [0, 0]];
@@ -595,16 +598,16 @@ var CreateCollectionDetail = [
595
598
  n0,
596
599
  _CCD,
597
600
  0,
598
- [_id_, _n, _s, _t, _d, _a, _kKA, _sR, _cD, _lMD],
599
- [0, 0, 0, 0, 0, 0, 0, 0, 1, 1],
601
+ [_id_, _n, _s, _t, _d, _a, _kKA, _sR, _vO, _cD, _lMD],
602
+ [0, 0, 0, 0, 0, 0, 0, 0, () => VectorOptions, 1, 1],
600
603
  ];
601
604
  var CreateCollectionRequest = [
602
605
  3,
603
606
  n0,
604
607
  _CCR,
605
608
  0,
606
- [_n, _t, _d, _ta, _sR, _cT],
607
- [0, 0, 0, () => Tags, 0, [0, 4]],
609
+ [_n, _t, _d, _ta, _sR, _vO, _cT],
610
+ [0, 0, 0, () => Tags, 0, () => VectorOptions, [0, 4]],
608
611
  ];
609
612
  var CreateCollectionResponse = [3, n0, _CCRr, 0, [_cCD], [() => CreateCollectionDetail]];
610
613
  var CreateIamIdentityCenterConfigOptions = [
@@ -1080,6 +1083,7 @@ var ValidationException = [
1080
1083
  [0],
1081
1084
  ];
1082
1085
  schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
1086
+ var VectorOptions = [3, n0, _VO, 0, [_SVA], [0]];
1083
1087
  var VpcEndpointDetail = [
1084
1088
  3,
1085
1089
  n0,
@@ -1992,6 +1996,11 @@ const CollectionType = {
1992
1996
  TIMESERIES: "TIMESERIES",
1993
1997
  VECTORSEARCH: "VECTORSEARCH",
1994
1998
  };
1999
+ const ServerlessVectorAccelerationStatus = {
2000
+ ALLOWED: "ALLOWED",
2001
+ DISABLED: "DISABLED",
2002
+ ENABLED: "ENABLED",
2003
+ };
1995
2004
  const LifecyclePolicyType = {
1996
2005
  retention: "retention",
1997
2006
  };
@@ -2078,6 +2087,7 @@ exports.ResourceNotFoundException = ResourceNotFoundException$1;
2078
2087
  exports.ResourceType = ResourceType;
2079
2088
  exports.SecurityConfigType = SecurityConfigType;
2080
2089
  exports.SecurityPolicyType = SecurityPolicyType;
2090
+ exports.ServerlessVectorAccelerationStatus = ServerlessVectorAccelerationStatus;
2081
2091
  exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
2082
2092
  exports.StandbyReplicas = StandbyReplicas;
2083
2093
  exports.TagResourceCommand = TagResourceCommand;
@@ -16,6 +16,11 @@ export const CollectionType = {
16
16
  TIMESERIES: "TIMESERIES",
17
17
  VECTORSEARCH: "VECTORSEARCH",
18
18
  };
19
+ export const ServerlessVectorAccelerationStatus = {
20
+ ALLOWED: "ALLOWED",
21
+ DISABLED: "DISABLED",
22
+ ENABLED: "ENABLED",
23
+ };
19
24
  export const LifecyclePolicyType = {
20
25
  retention: "retention",
21
26
  };
@@ -146,6 +146,7 @@ const _SPS = "SecurityPolicyStats";
146
146
  const _SPSe = "SecurityPolicySummary";
147
147
  const _SPSec = "SecurityPolicySummaries";
148
148
  const _SQEE = "ServiceQuotaExceededException";
149
+ const _SVA = "ServerlessVectorAcceleration";
149
150
  const _T = "Tag";
150
151
  const _TPC = "TotalPolicyCount";
151
152
  const _TR = "TagResource";
@@ -190,6 +191,7 @@ const _VEEDp = "VpcEndpointErrorDetails";
190
191
  const _VEF = "VpcEndpointFilters";
191
192
  const _VES = "VpcEndpointSummary";
192
193
  const _VESp = "VpcEndpointSummaries";
194
+ const _VO = "VectorOptions";
193
195
  const _a = "arn";
194
196
  const _aA = "applicationArn";
195
197
  const _aD = "applicationDescription";
@@ -288,6 +290,7 @@ const _vEED = "vpcEndpointErrorDetails";
288
290
  const _vEF = "vpcEndpointFilters";
289
291
  const _vES = "vpcEndpointSummaries";
290
292
  const _vI = "vpcId";
293
+ const _vO = "vectorOptions";
291
294
  const n0 = "com.amazonaws.opensearchserverless";
292
295
  import { TypeRegistry } from "@smithy/core/schema";
293
296
  import { ConflictException as __ConflictException, InternalServerException as __InternalServerException, OcuLimitExceededException as __OcuLimitExceededException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ValidationException as __ValidationException, } from "../models/errors";
@@ -366,8 +369,8 @@ export var CollectionDetail = [
366
369
  n0,
367
370
  _CD,
368
371
  0,
369
- [_id_, _n, _s, _t, _d, _a, _kKA, _sR, _cD, _lMD, _cE, _dE, _fE, _fC, _fM],
370
- [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, () => FipsEndpoints, 0, 0],
372
+ [_id_, _n, _s, _t, _d, _a, _kKA, _sR, _vO, _cD, _lMD, _cE, _dE, _fE, _fC, _fM],
373
+ [0, 0, 0, 0, 0, 0, 0, 0, () => VectorOptions, 1, 1, 0, 0, () => FipsEndpoints, 0, 0],
371
374
  ];
372
375
  export var CollectionErrorDetail = [3, n0, _CED, 0, [_id_, _n, _eM, _eC], [0, 0, 0, 0]];
373
376
  export var CollectionFilters = [3, n0, _CF, 0, [_n, _s], [0, 0]];
@@ -398,16 +401,16 @@ export var CreateCollectionDetail = [
398
401
  n0,
399
402
  _CCD,
400
403
  0,
401
- [_id_, _n, _s, _t, _d, _a, _kKA, _sR, _cD, _lMD],
402
- [0, 0, 0, 0, 0, 0, 0, 0, 1, 1],
404
+ [_id_, _n, _s, _t, _d, _a, _kKA, _sR, _vO, _cD, _lMD],
405
+ [0, 0, 0, 0, 0, 0, 0, 0, () => VectorOptions, 1, 1],
403
406
  ];
404
407
  export var CreateCollectionRequest = [
405
408
  3,
406
409
  n0,
407
410
  _CCR,
408
411
  0,
409
- [_n, _t, _d, _ta, _sR, _cT],
410
- [0, 0, 0, () => Tags, 0, [0, 4]],
412
+ [_n, _t, _d, _ta, _sR, _vO, _cT],
413
+ [0, 0, 0, () => Tags, 0, () => VectorOptions, [0, 4]],
411
414
  ];
412
415
  export var CreateCollectionResponse = [3, n0, _CCRr, 0, [_cCD], [() => CreateCollectionDetail]];
413
416
  export var CreateIamIdentityCenterConfigOptions = [
@@ -883,6 +886,7 @@ export var ValidationException = [
883
886
  [0],
884
887
  ];
885
888
  TypeRegistry.for(n0).registerError(ValidationException, __ValidationException);
889
+ export var VectorOptions = [3, n0, _VO, 0, [_SVA], [0]];
886
890
  export var VpcEndpointDetail = [
887
891
  3,
888
892
  n0,
@@ -57,6 +57,9 @@ declare const BatchGetCollectionCommand_base: {
57
57
  * // arn: "STRING_VALUE",
58
58
  * // kmsKeyArn: "STRING_VALUE",
59
59
  * // standbyReplicas: "STRING_VALUE",
60
+ * // vectorOptions: { // VectorOptions
61
+ * // ServerlessVectorAcceleration: "STRING_VALUE", // required
62
+ * // },
60
63
  * // createdDate: Number("long"),
61
64
  * // lastModifiedDate: Number("long"),
62
65
  * // collectionEndpoint: "STRING_VALUE",
@@ -47,6 +47,9 @@ declare const CreateCollectionCommand_base: {
47
47
  * },
48
48
  * ],
49
49
  * standbyReplicas: "STRING_VALUE",
50
+ * vectorOptions: { // VectorOptions
51
+ * ServerlessVectorAcceleration: "STRING_VALUE", // required
52
+ * },
50
53
  * clientToken: "STRING_VALUE",
51
54
  * };
52
55
  * const command = new CreateCollectionCommand(input);
@@ -61,6 +64,9 @@ declare const CreateCollectionCommand_base: {
61
64
  * // arn: "STRING_VALUE",
62
65
  * // kmsKeyArn: "STRING_VALUE",
63
66
  * // standbyReplicas: "STRING_VALUE",
67
+ * // vectorOptions: { // VectorOptions
68
+ * // ServerlessVectorAcceleration: "STRING_VALUE", // required
69
+ * // },
64
70
  * // createdDate: Number("long"),
65
71
  * // lastModifiedDate: Number("long"),
66
72
  * // },
@@ -64,6 +64,9 @@ declare const UpdateAccountSettingsCommand_base: {
64
64
  * @throws {@link InternalServerException} (server fault)
65
65
  * <p>Thrown when an error internal to the service occurs while processing a request.</p>
66
66
  *
67
+ * @throws {@link ServiceQuotaExceededException} (client fault)
68
+ * <p>Thrown when you attempt to create more resources than the service allows based on service quotas.</p>
69
+ *
67
70
  * @throws {@link ValidationException} (client fault)
68
71
  * <p>Thrown when the HTTP request contains invalid input or is missing required input.</p>
69
72
  *
@@ -78,6 +78,28 @@ export declare const CollectionType: {
78
78
  * @public
79
79
  */
80
80
  export type CollectionType = (typeof CollectionType)[keyof typeof CollectionType];
81
+ /**
82
+ * @public
83
+ * @enum
84
+ */
85
+ export declare const ServerlessVectorAccelerationStatus: {
86
+ /**
87
+ * Serverless vector acceleration is allowed but not enabled by default
88
+ */
89
+ readonly ALLOWED: "ALLOWED";
90
+ /**
91
+ * Serverless vector acceleration is disabled
92
+ */
93
+ readonly DISABLED: "DISABLED";
94
+ /**
95
+ * Serverless vector acceleration is enabled by default
96
+ */
97
+ readonly ENABLED: "ENABLED";
98
+ };
99
+ /**
100
+ * @public
101
+ */
102
+ export type ServerlessVectorAccelerationStatus = (typeof ServerlessVectorAccelerationStatus)[keyof typeof ServerlessVectorAccelerationStatus];
81
103
  /**
82
104
  * @public
83
105
  * @enum
@@ -1,5 +1,5 @@
1
1
  import { DocumentType as __DocumentType } from "@smithy/types";
2
- import { AccessPolicyType, CollectionStatus, CollectionType, IamIdentityCenterGroupAttribute, IamIdentityCenterUserAttribute, LifecyclePolicyType, ResourceType, SecurityConfigType, SecurityPolicyType, StandbyReplicas, VpcEndpointStatus } from "./enums";
2
+ import { AccessPolicyType, CollectionStatus, CollectionType, IamIdentityCenterGroupAttribute, IamIdentityCenterUserAttribute, LifecyclePolicyType, ResourceType, SecurityConfigType, SecurityPolicyType, ServerlessVectorAccelerationStatus, StandbyReplicas, VpcEndpointStatus } from "./enums";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -321,6 +321,17 @@ export interface FipsEndpoints {
321
321
  */
322
322
  dashboardEndpoint?: string | undefined;
323
323
  }
324
+ /**
325
+ * <p>Configuration options for vector search capabilities in an OpenSearch Serverless collection.</p>
326
+ * @public
327
+ */
328
+ export interface VectorOptions {
329
+ /**
330
+ * <p>Specifies whether serverless vector acceleration is enabled for the collection.</p>
331
+ * @public
332
+ */
333
+ ServerlessVectorAcceleration: ServerlessVectorAccelerationStatus | undefined;
334
+ }
324
335
  /**
325
336
  * <p>Details about each OpenSearch Serverless collection, including the collection endpoint, the OpenSearch Dashboards endpoint, and FIPS-compliant endpoints for federal government workloads.</p>
326
337
  * @public
@@ -366,6 +377,11 @@ export interface CollectionDetail {
366
377
  * @public
367
378
  */
368
379
  standbyReplicas?: StandbyReplicas | undefined;
380
+ /**
381
+ * <p>Configuration options for vector search capabilities in the collection.</p>
382
+ * @public
383
+ */
384
+ vectorOptions?: VectorOptions | undefined;
369
385
  /**
370
386
  * <p>The Epoch time when the collection was created.</p>
371
387
  * @public
@@ -796,6 +812,11 @@ export interface CreateCollectionRequest {
796
812
  * @public
797
813
  */
798
814
  standbyReplicas?: StandbyReplicas | undefined;
815
+ /**
816
+ * <p>Configuration options for vector search capabilities in the collection.</p>
817
+ * @public
818
+ */
819
+ vectorOptions?: VectorOptions | undefined;
799
820
  /**
800
821
  * <p>Unique, case-sensitive identifier to ensure idempotency of the request.</p>
801
822
  * @public
@@ -847,6 +868,11 @@ export interface CreateCollectionDetail {
847
868
  * @public
848
869
  */
849
870
  standbyReplicas?: StandbyReplicas | undefined;
871
+ /**
872
+ * <p>Configuration options for vector search capabilities in the collection.</p>
873
+ * @public
874
+ */
875
+ vectorOptions?: VectorOptions | undefined;
850
876
  /**
851
877
  * <p>The Epoch time when the collection was created.</p>
852
878
  * @public
@@ -123,6 +123,7 @@ export declare var UpdateVpcEndpointDetail: StaticStructureSchema;
123
123
  export declare var UpdateVpcEndpointRequest: StaticStructureSchema;
124
124
  export declare var UpdateVpcEndpointResponse: StaticStructureSchema;
125
125
  export declare var ValidationException: StaticErrorSchema;
126
+ export declare var VectorOptions: StaticStructureSchema;
126
127
  export declare var VpcEndpointDetail: StaticStructureSchema;
127
128
  export declare var VpcEndpointErrorDetail: StaticStructureSchema;
128
129
  export declare var VpcEndpointFilters: StaticStructureSchema;
@@ -24,6 +24,13 @@ export declare const CollectionType: {
24
24
  };
25
25
  export type CollectionType =
26
26
  (typeof CollectionType)[keyof typeof CollectionType];
27
+ export declare const ServerlessVectorAccelerationStatus: {
28
+ readonly ALLOWED: "ALLOWED";
29
+ readonly DISABLED: "DISABLED";
30
+ readonly ENABLED: "ENABLED";
31
+ };
32
+ export type ServerlessVectorAccelerationStatus =
33
+ (typeof ServerlessVectorAccelerationStatus)[keyof typeof ServerlessVectorAccelerationStatus];
27
34
  export declare const LifecyclePolicyType: {
28
35
  readonly retention: "retention";
29
36
  };
@@ -9,6 +9,7 @@ import {
9
9
  ResourceType,
10
10
  SecurityConfigType,
11
11
  SecurityPolicyType,
12
+ ServerlessVectorAccelerationStatus,
12
13
  StandbyReplicas,
13
14
  VpcEndpointStatus,
14
15
  } from "./enums";
@@ -91,6 +92,9 @@ export interface FipsEndpoints {
91
92
  collectionEndpoint?: string | undefined;
92
93
  dashboardEndpoint?: string | undefined;
93
94
  }
95
+ export interface VectorOptions {
96
+ ServerlessVectorAcceleration: ServerlessVectorAccelerationStatus | undefined;
97
+ }
94
98
  export interface CollectionDetail {
95
99
  id?: string | undefined;
96
100
  name?: string | undefined;
@@ -100,6 +104,7 @@ export interface CollectionDetail {
100
104
  arn?: string | undefined;
101
105
  kmsKeyArn?: string | undefined;
102
106
  standbyReplicas?: StandbyReplicas | undefined;
107
+ vectorOptions?: VectorOptions | undefined;
103
108
  createdDate?: number | undefined;
104
109
  lastModifiedDate?: number | undefined;
105
110
  collectionEndpoint?: string | undefined;
@@ -206,6 +211,7 @@ export interface CreateCollectionRequest {
206
211
  description?: string | undefined;
207
212
  tags?: Tag[] | undefined;
208
213
  standbyReplicas?: StandbyReplicas | undefined;
214
+ vectorOptions?: VectorOptions | undefined;
209
215
  clientToken?: string | undefined;
210
216
  }
211
217
  export interface CreateCollectionDetail {
@@ -217,6 +223,7 @@ export interface CreateCollectionDetail {
217
223
  arn?: string | undefined;
218
224
  kmsKeyArn?: string | undefined;
219
225
  standbyReplicas?: StandbyReplicas | undefined;
226
+ vectorOptions?: VectorOptions | undefined;
220
227
  createdDate?: number | undefined;
221
228
  lastModifiedDate?: number | undefined;
222
229
  }
@@ -128,6 +128,7 @@ export declare var UpdateVpcEndpointDetail: StaticStructureSchema;
128
128
  export declare var UpdateVpcEndpointRequest: StaticStructureSchema;
129
129
  export declare var UpdateVpcEndpointResponse: StaticStructureSchema;
130
130
  export declare var ValidationException: StaticErrorSchema;
131
+ export declare var VectorOptions: StaticStructureSchema;
131
132
  export declare var VpcEndpointDetail: StaticStructureSchema;
132
133
  export declare var VpcEndpointErrorDetail: StaticStructureSchema;
133
134
  export declare var VpcEndpointFilters: StaticStructureSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-opensearchserverless",
3
3
  "description": "AWS SDK for JavaScript Opensearchserverless Client for Node.js, Browser and React Native",
4
- "version": "3.940.0",
4
+ "version": "3.943.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-opensearchserverless",
@@ -20,17 +20,17 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.940.0",
24
- "@aws-sdk/credential-provider-node": "3.940.0",
23
+ "@aws-sdk/core": "3.943.0",
24
+ "@aws-sdk/credential-provider-node": "3.943.0",
25
25
  "@aws-sdk/middleware-host-header": "3.936.0",
26
26
  "@aws-sdk/middleware-logger": "3.936.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.936.0",
28
- "@aws-sdk/middleware-user-agent": "3.940.0",
28
+ "@aws-sdk/middleware-user-agent": "3.943.0",
29
29
  "@aws-sdk/region-config-resolver": "3.936.0",
30
30
  "@aws-sdk/types": "3.936.0",
31
31
  "@aws-sdk/util-endpoints": "3.936.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.936.0",
33
- "@aws-sdk/util-user-agent-node": "3.940.0",
33
+ "@aws-sdk/util-user-agent-node": "3.943.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
35
  "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",