Skip to content

Commit 263dd4c

Browse files
author
awstools
committed
feat(client-opensearch): GPU-acceleration helps you build large-scale vector databases faster and more efficiently. You can enable this feature on new OpenSearch domains and OpenSearch Serverless collections. This feature uses GPU-acceleration to reduce the time needed to index data into vector indexes.
1 parent f3383c4 commit 263dd4c

File tree

10 files changed

+86
-4
lines changed

10 files changed

+86
-4
lines changed

clients/client-opensearch/src/commands/CreateDomainCommand.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,9 @@ export interface CreateDomainCommandOutput extends CreateDomainResponse, __Metad
195195
* S3VectorsEngine: { // S3VectorsEngine
196196
* Enabled: true || false,
197197
* },
198+
* ServerlessVectorAcceleration: { // ServerlessVectorAcceleration
199+
* Enabled: true || false,
200+
* },
198201
* },
199202
* };
200203
* const command = new CreateDomainCommand(input);
@@ -383,6 +386,9 @@ export interface CreateDomainCommandOutput extends CreateDomainResponse, __Metad
383386
* // S3VectorsEngine: { // S3VectorsEngine
384387
* // Enabled: true || false,
385388
* // },
389+
* // ServerlessVectorAcceleration: { // ServerlessVectorAcceleration
390+
* // Enabled: true || false,
391+
* // },
386392
* // },
387393
* // },
388394
* // };

clients/client-opensearch/src/commands/DeleteDomainCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,9 @@ export interface DeleteDomainCommandOutput extends DeleteDomainResponse, __Metad
226226
* // S3VectorsEngine: { // S3VectorsEngine
227227
* // Enabled: true || false,
228228
* // },
229+
* // ServerlessVectorAcceleration: { // ServerlessVectorAcceleration
230+
* // Enabled: true || false,
231+
* // },
229232
* // },
230233
* // },
231234
* // };

clients/client-opensearch/src/commands/DescribeDomainCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,9 @@ export interface DescribeDomainCommandOutput extends DescribeDomainResponse, __M
226226
* // S3VectorsEngine: { // S3VectorsEngine
227227
* // Enabled: true || false,
228228
* // },
229+
* // ServerlessVectorAcceleration: { // ServerlessVectorAcceleration
230+
* // Enabled: true || false,
231+
* // },
229232
* // },
230233
* // },
231234
* // };

clients/client-opensearch/src/commands/DescribeDomainConfigCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,9 @@ export interface DescribeDomainConfigCommandOutput extends DescribeDomainConfigR
303303
* // S3VectorsEngine: { // S3VectorsEngine
304304
* // Enabled: true || false,
305305
* // },
306+
* // ServerlessVectorAcceleration: { // ServerlessVectorAcceleration
307+
* // Enabled: true || false,
308+
* // },
306309
* // },
307310
* // Status: "<OptionStatus>",
308311
* // },

clients/client-opensearch/src/commands/DescribeDomainsCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,9 @@ export interface DescribeDomainsCommandOutput extends DescribeDomainsResponse, _
229229
* // S3VectorsEngine: { // S3VectorsEngine
230230
* // Enabled: true || false,
231231
* // },
232+
* // ServerlessVectorAcceleration: { // ServerlessVectorAcceleration
233+
* // Enabled: true || false,
234+
* // },
232235
* // },
233236
* // },
234237
* // ],

clients/client-opensearch/src/commands/DescribeDryRunProgressCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,9 @@ export interface DescribeDryRunProgressCommandOutput extends DescribeDryRunProgr
240240
* // S3VectorsEngine: { // S3VectorsEngine
241241
* // Enabled: true || false,
242242
* // },
243+
* // ServerlessVectorAcceleration: { // ServerlessVectorAcceleration
244+
* // Enabled: true || false,
245+
* // },
243246
* // },
244247
* // },
245248
* // DryRunResults: { // DryRunResults

clients/client-opensearch/src/commands/UpdateDomainConfigCommand.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,9 @@ export interface UpdateDomainConfigCommandOutput extends UpdateDomainConfigRespo
191191
* S3VectorsEngine: { // S3VectorsEngine
192192
* Enabled: true || false,
193193
* },
194+
* ServerlessVectorAcceleration: { // ServerlessVectorAcceleration
195+
* Enabled: true || false,
196+
* },
194197
* },
195198
* };
196199
* const command = new UpdateDomainConfigCommand(input);
@@ -457,6 +460,9 @@ export interface UpdateDomainConfigCommandOutput extends UpdateDomainConfigRespo
457460
* // S3VectorsEngine: { // S3VectorsEngine
458461
* // Enabled: true || false,
459462
* // },
463+
* // ServerlessVectorAcceleration: { // ServerlessVectorAcceleration
464+
* // Enabled: true || false,
465+
* // },
460466
* // },
461467
* // Status: "<OptionStatus>",
462468
* // },

clients/client-opensearch/src/models/models_0.ts

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1016,6 +1016,19 @@ export interface S3VectorsEngine {
10161016
Enabled?: boolean | undefined;
10171017
}
10181018

1019+
/**
1020+
* <p>Configuration for serverless vector acceleration, which provides <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/gpu-acceleration-vector-index.html">GPU-accelerated</a> vector
1021+
* search capabilities for improved performance on vector workloads.</p>
1022+
* @public
1023+
*/
1024+
export interface ServerlessVectorAcceleration {
1025+
/**
1026+
* <p>Specifies whether serverless vector acceleration is enabled for the domain.</p>
1027+
* @public
1028+
*/
1029+
Enabled?: boolean | undefined;
1030+
}
1031+
10191032
/**
10201033
* <p>Container for parameters required to enable all machine learning features.</p>
10211034
* @public
@@ -1034,6 +1047,14 @@ export interface AIMLOptionsInput {
10341047
* @public
10351048
*/
10361049
S3VectorsEngine?: S3VectorsEngine | undefined;
1050+
1051+
/**
1052+
* <p>Specifies whether to enable serverless vector acceleration for the domain. When enabled,
1053+
* provides <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/gpu-acceleration-vector-index.html">GPU-accelerated</a> vector search capabilities for improved performance on vector
1054+
* workloads.</p>
1055+
* @public
1056+
*/
1057+
ServerlessVectorAcceleration?: ServerlessVectorAcceleration | undefined;
10371058
}
10381059

10391060
/**
@@ -1076,6 +1097,12 @@ export interface AIMLOptionsOutput {
10761097
* @public
10771098
*/
10781099
S3VectorsEngine?: S3VectorsEngine | undefined;
1100+
1101+
/**
1102+
* <p>The current serverless vector acceleration configuration for the domain.</p>
1103+
* @public
1104+
*/
1105+
ServerlessVectorAcceleration?: ServerlessVectorAcceleration | undefined;
10791106
}
10801107

10811108
/**

clients/client-opensearch/src/schemas/schemas_0.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -623,6 +623,7 @@ const _SU = "SkipUnavailable";
623623
const _SUO = "SoftwareUpdateOptions";
624624
const _SUOS = "SoftwareUpdateOptionsStatus";
625625
const _SV = "SourceVersion";
626+
const _SVA = "ServerlessVectorAcceleration";
626627
const _SVE = "S3VectorsEngine";
627628
const _SVT = "StorageVolumeType";
628629
const _Se = "Service";
@@ -882,16 +883,16 @@ export var AIMLOptionsInput: StaticStructureSchema = [
882883
n0,
883884
_AIMLOI,
884885
0,
885-
[_NLQGO, _SVE],
886-
[() => NaturalLanguageQueryGenerationOptionsInput, () => S3VectorsEngine],
886+
[_NLQGO, _SVE, _SVA],
887+
[() => NaturalLanguageQueryGenerationOptionsInput, () => S3VectorsEngine, () => ServerlessVectorAcceleration],
887888
];
888889
export var AIMLOptionsOutput: StaticStructureSchema = [
889890
3,
890891
n0,
891892
_AIMLOO,
892893
0,
893-
[_NLQGO, _SVE],
894-
[() => NaturalLanguageQueryGenerationOptionsOutput, () => S3VectorsEngine],
894+
[_NLQGO, _SVE, _SVA],
895+
[() => NaturalLanguageQueryGenerationOptionsOutput, () => S3VectorsEngine, () => ServerlessVectorAcceleration],
895896
];
896897
export var AIMLOptionsStatus: StaticStructureSchema = [
897898
3,
@@ -2626,6 +2627,7 @@ export var ScheduledAction: StaticStructureSchema = [
26262627
];
26272628
export var ScheduledAutoTuneDetails: StaticStructureSchema = [3, n0, _SATD, 0, [_Da, _ATc, _Ac, _Sev], [4, 0, 0, 0]];
26282629
export var SecurityLakeDirectQueryDataSource: StaticStructureSchema = [3, n0, _SLDQDS, 0, [_RA], [0]];
2630+
export var ServerlessVectorAcceleration: StaticStructureSchema = [3, n0, _SVA, 0, [_E], [2]];
26292631
export var ServiceSoftwareOptions: StaticStructureSchema = [
26302632
3,
26312633
n0,

codegen/sdk-codegen/aws-models/opensearch.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@
4343
"traits": {
4444
"smithy.api#documentation": "<p>Container for parameters required to enable S3 vectors engine features on the\n specified domain.</p>"
4545
}
46+
},
47+
"ServerlessVectorAcceleration": {
48+
"target": "com.amazonaws.opensearch#ServerlessVectorAcceleration",
49+
"traits": {
50+
"smithy.api#documentation": "<p>Specifies whether to enable serverless vector acceleration for the domain. When enabled,\n provides <a href=\"https://docs.aws.amazon.com/opensearch-service/latest/developerguide/gpu-acceleration-vector-index.html\">GPU-accelerated</a> vector search capabilities for improved performance on vector\n workloads.</p>"
51+
}
4652
}
4753
},
4854
"traits": {
@@ -63,6 +69,12 @@
6369
"traits": {
6470
"smithy.api#documentation": "<p>Container for parameters representing the state of S3 vectors engine features on the\n specified domain.</p>"
6571
}
72+
},
73+
"ServerlessVectorAcceleration": {
74+
"target": "com.amazonaws.opensearch#ServerlessVectorAcceleration",
75+
"traits": {
76+
"smithy.api#documentation": "<p>The current serverless vector acceleration configuration for the domain.</p>"
77+
}
6678
}
6779
},
6880
"traits": {
@@ -13882,6 +13894,20 @@
1388213894
"smithy.api#documentation": "<p> Configuration details for a Security Lake data source that can be used for direct\n queries. </p>"
1388313895
}
1388413896
},
13897+
"com.amazonaws.opensearch#ServerlessVectorAcceleration": {
13898+
"type": "structure",
13899+
"members": {
13900+
"Enabled": {
13901+
"target": "com.amazonaws.opensearch#Boolean",
13902+
"traits": {
13903+
"smithy.api#documentation": "<p>Specifies whether serverless vector acceleration is enabled for the domain.</p>"
13904+
}
13905+
}
13906+
},
13907+
"traits": {
13908+
"smithy.api#documentation": "<p>Configuration for serverless vector acceleration, which provides <a href=\"https://docs.aws.amazon.com/opensearch-service/latest/developerguide/gpu-acceleration-vector-index.html\">GPU-accelerated</a> vector\n search capabilities for improved performance on vector workloads.</p>"
13909+
}
13910+
},
1388513911
"com.amazonaws.opensearch#ServiceSoftwareOptions": {
1388613912
"type": "structure",
1388713913
"members": {

0 commit comments

Comments
 (0)