@aws-sdk/client-opensearchserverless 3.940.0 → 3.946.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 +22 -65
- package/dist-cjs/runtimeConfig.browser.js +2 -2
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-es/OpenSearchServerlessClient.js +2 -2
- package/dist-es/models/enums.js +5 -0
- package/dist-es/runtimeConfig.browser.js +2 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/schemas/schemas_0.js +16 -65
- package/dist-types/OpenSearchServerless.d.ts +1 -1
- package/dist-types/OpenSearchServerlessClient.d.ts +10 -10
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
- package/dist-types/commands/BatchGetCollectionCommand.d.ts +6 -3
- package/dist-types/commands/BatchGetEffectiveLifecyclePolicyCommand.d.ts +3 -3
- package/dist-types/commands/BatchGetLifecyclePolicyCommand.d.ts +3 -3
- package/dist-types/commands/BatchGetVpcEndpointCommand.d.ts +3 -3
- package/dist-types/commands/CreateAccessPolicyCommand.d.ts +3 -3
- package/dist-types/commands/CreateCollectionCommand.d.ts +9 -3
- package/dist-types/commands/CreateIndexCommand.d.ts +3 -3
- package/dist-types/commands/CreateLifecyclePolicyCommand.d.ts +3 -3
- package/dist-types/commands/CreateSecurityConfigCommand.d.ts +3 -3
- package/dist-types/commands/CreateSecurityPolicyCommand.d.ts +3 -3
- package/dist-types/commands/CreateVpcEndpointCommand.d.ts +3 -3
- package/dist-types/commands/DeleteAccessPolicyCommand.d.ts +3 -3
- package/dist-types/commands/DeleteCollectionCommand.d.ts +3 -3
- package/dist-types/commands/DeleteIndexCommand.d.ts +3 -3
- package/dist-types/commands/DeleteLifecyclePolicyCommand.d.ts +3 -3
- package/dist-types/commands/DeleteSecurityConfigCommand.d.ts +3 -3
- package/dist-types/commands/DeleteSecurityPolicyCommand.d.ts +3 -3
- package/dist-types/commands/DeleteVpcEndpointCommand.d.ts +3 -3
- package/dist-types/commands/GetAccessPolicyCommand.d.ts +3 -3
- package/dist-types/commands/GetAccountSettingsCommand.d.ts +3 -3
- package/dist-types/commands/GetIndexCommand.d.ts +3 -3
- package/dist-types/commands/GetPoliciesStatsCommand.d.ts +3 -3
- package/dist-types/commands/GetSecurityConfigCommand.d.ts +3 -3
- package/dist-types/commands/GetSecurityPolicyCommand.d.ts +3 -3
- package/dist-types/commands/ListAccessPoliciesCommand.d.ts +3 -3
- package/dist-types/commands/ListCollectionsCommand.d.ts +3 -3
- package/dist-types/commands/ListLifecyclePoliciesCommand.d.ts +3 -3
- package/dist-types/commands/ListSecurityConfigsCommand.d.ts +3 -3
- package/dist-types/commands/ListSecurityPoliciesCommand.d.ts +3 -3
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
- package/dist-types/commands/ListVpcEndpointsCommand.d.ts +3 -3
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UpdateAccessPolicyCommand.d.ts +3 -3
- package/dist-types/commands/UpdateAccountSettingsCommand.d.ts +6 -3
- package/dist-types/commands/UpdateCollectionCommand.d.ts +3 -3
- package/dist-types/commands/UpdateIndexCommand.d.ts +3 -3
- package/dist-types/commands/UpdateLifecyclePolicyCommand.d.ts +3 -3
- package/dist-types/commands/UpdateSecurityConfigCommand.d.ts +3 -3
- package/dist-types/commands/UpdateSecurityPolicyCommand.d.ts +3 -3
- package/dist-types/commands/UpdateVpcEndpointCommand.d.ts +3 -3
- package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
- package/dist-types/endpoint/endpointResolver.d.ts +5 -2
- package/dist-types/extensionConfiguration.d.ts +4 -4
- package/dist-types/models/OpenSearchServerlessServiceException.d.ts +1 -1
- package/dist-types/models/enums.d.ts +22 -0
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +27 -1
- package/dist-types/pagination/Interfaces.d.ts +1 -1
- package/dist-types/pagination/ListAccessPoliciesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListCollectionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListLifecyclePoliciesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSecurityConfigsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSecurityPoliciesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListVpcEndpointsPaginator.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/runtimeExtensions.d.ts +1 -1
- package/dist-types/schemas/schemas_0.d.ts +2 -1
- package/dist-types/ts3.4/OpenSearchServerlessClient.d.ts +3 -3
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/OpenSearchServerlessServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/enums.d.ts +7 -0
- package/dist-types/ts3.4/models/models_0.d.ts +7 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
- package/package.json +13 -12
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,23 +566,13 @@ 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]];
|
|
571
574
|
var CollectionSummary = [3, n0, _CS, 0, [_id_, _n, _s, _a], [0, 0, 0, 0]];
|
|
572
|
-
var ConflictException = [
|
|
573
|
-
-3,
|
|
574
|
-
n0,
|
|
575
|
-
_CE,
|
|
576
|
-
{
|
|
577
|
-
[_e]: _c,
|
|
578
|
-
[_hE]: 409,
|
|
579
|
-
},
|
|
580
|
-
[_m],
|
|
581
|
-
[0],
|
|
582
|
-
];
|
|
575
|
+
var ConflictException = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_m], [0]];
|
|
583
576
|
schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
|
|
584
577
|
var CreateAccessPolicyRequest = [
|
|
585
578
|
3,
|
|
@@ -595,16 +588,16 @@ var CreateCollectionDetail = [
|
|
|
595
588
|
n0,
|
|
596
589
|
_CCD,
|
|
597
590
|
0,
|
|
598
|
-
[_id_, _n, _s, _t, _d, _a, _kKA, _sR, _cD, _lMD],
|
|
599
|
-
[0, 0, 0, 0, 0, 0, 0, 0, 1, 1],
|
|
591
|
+
[_id_, _n, _s, _t, _d, _a, _kKA, _sR, _vO, _cD, _lMD],
|
|
592
|
+
[0, 0, 0, 0, 0, 0, 0, 0, () => VectorOptions, 1, 1],
|
|
600
593
|
];
|
|
601
594
|
var CreateCollectionRequest = [
|
|
602
595
|
3,
|
|
603
596
|
n0,
|
|
604
597
|
_CCR,
|
|
605
598
|
0,
|
|
606
|
-
[_n, _t, _d, _ta, _sR, _cT],
|
|
607
|
-
[0, 0, 0, () => Tags, 0, [0, 4]],
|
|
599
|
+
[_n, _t, _d, _ta, _sR, _vO, _cT],
|
|
600
|
+
[0, 0, 0, () => Tags, 0, () => VectorOptions, [0, 4]],
|
|
608
601
|
];
|
|
609
602
|
var CreateCollectionResponse = [3, n0, _CCRr, 0, [_cCD], [() => CreateCollectionDetail]];
|
|
610
603
|
var CreateIamIdentityCenterConfigOptions = [
|
|
@@ -765,17 +758,7 @@ var IamIdentityCenterConfigOptions = [
|
|
|
765
758
|
[_iA, _aA, _aN, _aD, _uA, _gA],
|
|
766
759
|
[0, 0, 0, 0, 0, 0],
|
|
767
760
|
];
|
|
768
|
-
var InternalServerException = [
|
|
769
|
-
-3,
|
|
770
|
-
n0,
|
|
771
|
-
_ISE,
|
|
772
|
-
{
|
|
773
|
-
[_e]: _se,
|
|
774
|
-
[_hE]: 500,
|
|
775
|
-
},
|
|
776
|
-
[_m],
|
|
777
|
-
[0],
|
|
778
|
-
];
|
|
761
|
+
var InternalServerException = [-3, n0, _ISE, { [_e]: _se, [_hE]: 500 }, [_m], [0]];
|
|
779
762
|
schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
|
|
780
763
|
var LifecyclePolicyDetail = [
|
|
781
764
|
3,
|
|
@@ -881,29 +864,9 @@ var ListVpcEndpointsResponse = [
|
|
|
881
864
|
[_vES, _nT],
|
|
882
865
|
[() => VpcEndpointSummaries, 0],
|
|
883
866
|
];
|
|
884
|
-
var OcuLimitExceededException = [
|
|
885
|
-
-3,
|
|
886
|
-
n0,
|
|
887
|
-
_OLEE,
|
|
888
|
-
{
|
|
889
|
-
[_e]: _c,
|
|
890
|
-
[_hE]: 402,
|
|
891
|
-
},
|
|
892
|
-
[_m],
|
|
893
|
-
[0],
|
|
894
|
-
];
|
|
867
|
+
var OcuLimitExceededException = [-3, n0, _OLEE, { [_e]: _c, [_hE]: 402 }, [_m], [0]];
|
|
895
868
|
schema.TypeRegistry.for(n0).registerError(OcuLimitExceededException, OcuLimitExceededException$1);
|
|
896
|
-
var ResourceNotFoundException = [
|
|
897
|
-
-3,
|
|
898
|
-
n0,
|
|
899
|
-
_RNFE,
|
|
900
|
-
{
|
|
901
|
-
[_e]: _c,
|
|
902
|
-
[_hE]: 404,
|
|
903
|
-
},
|
|
904
|
-
[_m],
|
|
905
|
-
[0],
|
|
906
|
-
];
|
|
869
|
+
var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
|
|
907
870
|
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
|
|
908
871
|
var SamlConfigOptions = [3, n0, _SCO, 0, [_me, _uA, _gA, _oSSEI, _sT], [0, 0, 0, 0, 1]];
|
|
909
872
|
var SecurityConfigDetail = [
|
|
@@ -944,10 +907,7 @@ var ServiceQuotaExceededException = [
|
|
|
944
907
|
-3,
|
|
945
908
|
n0,
|
|
946
909
|
_SQEE,
|
|
947
|
-
{
|
|
948
|
-
[_e]: _c,
|
|
949
|
-
[_hE]: 402,
|
|
950
|
-
},
|
|
910
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
951
911
|
[_m, _rIe, _rT, _sC, _qC],
|
|
952
912
|
[0, 0, 0, 0, 0],
|
|
953
913
|
];
|
|
@@ -1068,18 +1028,9 @@ var UpdateVpcEndpointResponse = [
|
|
|
1068
1028
|
[_UVED],
|
|
1069
1029
|
[() => UpdateVpcEndpointDetail],
|
|
1070
1030
|
];
|
|
1071
|
-
var ValidationException = [
|
|
1072
|
-
-3,
|
|
1073
|
-
n0,
|
|
1074
|
-
_VE,
|
|
1075
|
-
{
|
|
1076
|
-
[_e]: _c,
|
|
1077
|
-
[_hE]: 400,
|
|
1078
|
-
},
|
|
1079
|
-
[_m],
|
|
1080
|
-
[0],
|
|
1081
|
-
];
|
|
1031
|
+
var ValidationException = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
1082
1032
|
schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
|
|
1033
|
+
var VectorOptions = [3, n0, _VO, 0, [_SVA], [0]];
|
|
1083
1034
|
var VpcEndpointDetail = [
|
|
1084
1035
|
3,
|
|
1085
1036
|
n0,
|
|
@@ -1992,6 +1943,11 @@ const CollectionType = {
|
|
|
1992
1943
|
TIMESERIES: "TIMESERIES",
|
|
1993
1944
|
VECTORSEARCH: "VECTORSEARCH",
|
|
1994
1945
|
};
|
|
1946
|
+
const ServerlessVectorAccelerationStatus = {
|
|
1947
|
+
ALLOWED: "ALLOWED",
|
|
1948
|
+
DISABLED: "DISABLED",
|
|
1949
|
+
ENABLED: "ENABLED",
|
|
1950
|
+
};
|
|
1995
1951
|
const LifecyclePolicyType = {
|
|
1996
1952
|
retention: "retention",
|
|
1997
1953
|
};
|
|
@@ -2078,6 +2034,7 @@ exports.ResourceNotFoundException = ResourceNotFoundException$1;
|
|
|
2078
2034
|
exports.ResourceType = ResourceType;
|
|
2079
2035
|
exports.SecurityConfigType = SecurityConfigType;
|
|
2080
2036
|
exports.SecurityPolicyType = SecurityPolicyType;
|
|
2037
|
+
exports.ServerlessVectorAccelerationStatus = ServerlessVectorAccelerationStatus;
|
|
2081
2038
|
exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
|
|
2082
2039
|
exports.StandbyReplicas = StandbyReplicas;
|
|
2083
2040
|
exports.TagResourceCommand = TagResourceCommand;
|
|
@@ -8,11 +8,11 @@ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
|
8
8
|
const config_resolver_1 = require("@smithy/config-resolver");
|
|
9
9
|
const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
|
|
10
10
|
const invalid_dependency_1 = require("@smithy/invalid-dependency");
|
|
11
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
11
12
|
const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
|
|
13
|
+
const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
|
|
12
14
|
const util_retry_1 = require("@smithy/util-retry");
|
|
13
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
14
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
15
|
-
const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
|
|
16
16
|
const getRuntimeConfig = (config) => {
|
|
17
17
|
const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
|
|
18
18
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
@@ -11,14 +11,13 @@ const hash_node_1 = require("@smithy/hash-node");
|
|
|
11
11
|
const middleware_retry_1 = require("@smithy/middleware-retry");
|
|
12
12
|
const node_config_provider_1 = require("@smithy/node-config-provider");
|
|
13
13
|
const node_http_handler_1 = require("@smithy/node-http-handler");
|
|
14
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
14
15
|
const util_body_length_node_1 = require("@smithy/util-body-length-node");
|
|
16
|
+
const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
|
|
15
17
|
const util_retry_1 = require("@smithy/util-retry");
|
|
16
18
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
17
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
18
|
-
const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
|
|
19
|
-
const smithy_client_2 = require("@smithy/smithy-client");
|
|
20
19
|
const getRuntimeConfig = (config) => {
|
|
21
|
-
(0,
|
|
20
|
+
(0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
22
21
|
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
23
22
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
24
23
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
@@ -6,8 +6,8 @@ import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
|
6
6
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
7
7
|
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
8
8
|
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
9
|
-
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
|
10
|
-
import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
|
9
|
+
import { resolveEndpointConfig, } from "@smithy/middleware-endpoint";
|
|
10
|
+
import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
|
|
11
11
|
import { Client as __Client, } from "@smithy/smithy-client";
|
|
12
12
|
import { defaultOpenSearchServerlessHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
|
|
13
13
|
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
package/dist-es/models/enums.js
CHANGED
|
@@ -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
|
};
|
|
@@ -4,11 +4,11 @@ import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser
|
|
|
4
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
|
|
5
5
|
import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
|
|
6
6
|
import { invalidProvider } from "@smithy/invalid-dependency";
|
|
7
|
+
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
7
8
|
import { calculateBodyLength } from "@smithy/util-body-length-browser";
|
|
9
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
8
10
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
9
11
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
10
|
-
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
11
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
12
12
|
export const getRuntimeConfig = (config) => {
|
|
13
13
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
14
14
|
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -7,12 +7,11 @@ import { Hash } from "@smithy/hash-node";
|
|
|
7
7
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
|
|
8
8
|
import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
|
|
9
9
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
10
|
+
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
10
11
|
import { calculateBodyLength } from "@smithy/util-body-length-node";
|
|
12
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
11
13
|
import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
12
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
|
-
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
14
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
15
|
-
import { emitWarningIfUnsupportedVersion } from "@smithy/smithy-client";
|
|
16
15
|
export const getRuntimeConfig = (config) => {
|
|
17
16
|
emitWarningIfUnsupportedVersion(process.version);
|
|
18
17
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
@@ -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,23 +369,13 @@ 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]];
|
|
374
377
|
export var CollectionSummary = [3, n0, _CS, 0, [_id_, _n, _s, _a], [0, 0, 0, 0]];
|
|
375
|
-
export var ConflictException = [
|
|
376
|
-
-3,
|
|
377
|
-
n0,
|
|
378
|
-
_CE,
|
|
379
|
-
{
|
|
380
|
-
[_e]: _c,
|
|
381
|
-
[_hE]: 409,
|
|
382
|
-
},
|
|
383
|
-
[_m],
|
|
384
|
-
[0],
|
|
385
|
-
];
|
|
378
|
+
export var ConflictException = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_m], [0]];
|
|
386
379
|
TypeRegistry.for(n0).registerError(ConflictException, __ConflictException);
|
|
387
380
|
export var CreateAccessPolicyRequest = [
|
|
388
381
|
3,
|
|
@@ -398,16 +391,16 @@ export var CreateCollectionDetail = [
|
|
|
398
391
|
n0,
|
|
399
392
|
_CCD,
|
|
400
393
|
0,
|
|
401
|
-
[_id_, _n, _s, _t, _d, _a, _kKA, _sR, _cD, _lMD],
|
|
402
|
-
[0, 0, 0, 0, 0, 0, 0, 0, 1, 1],
|
|
394
|
+
[_id_, _n, _s, _t, _d, _a, _kKA, _sR, _vO, _cD, _lMD],
|
|
395
|
+
[0, 0, 0, 0, 0, 0, 0, 0, () => VectorOptions, 1, 1],
|
|
403
396
|
];
|
|
404
397
|
export var CreateCollectionRequest = [
|
|
405
398
|
3,
|
|
406
399
|
n0,
|
|
407
400
|
_CCR,
|
|
408
401
|
0,
|
|
409
|
-
[_n, _t, _d, _ta, _sR, _cT],
|
|
410
|
-
[0, 0, 0, () => Tags, 0, [0, 4]],
|
|
402
|
+
[_n, _t, _d, _ta, _sR, _vO, _cT],
|
|
403
|
+
[0, 0, 0, () => Tags, 0, () => VectorOptions, [0, 4]],
|
|
411
404
|
];
|
|
412
405
|
export var CreateCollectionResponse = [3, n0, _CCRr, 0, [_cCD], [() => CreateCollectionDetail]];
|
|
413
406
|
export var CreateIamIdentityCenterConfigOptions = [
|
|
@@ -568,17 +561,7 @@ export var IamIdentityCenterConfigOptions = [
|
|
|
568
561
|
[_iA, _aA, _aN, _aD, _uA, _gA],
|
|
569
562
|
[0, 0, 0, 0, 0, 0],
|
|
570
563
|
];
|
|
571
|
-
export var InternalServerException = [
|
|
572
|
-
-3,
|
|
573
|
-
n0,
|
|
574
|
-
_ISE,
|
|
575
|
-
{
|
|
576
|
-
[_e]: _se,
|
|
577
|
-
[_hE]: 500,
|
|
578
|
-
},
|
|
579
|
-
[_m],
|
|
580
|
-
[0],
|
|
581
|
-
];
|
|
564
|
+
export var InternalServerException = [-3, n0, _ISE, { [_e]: _se, [_hE]: 500 }, [_m], [0]];
|
|
582
565
|
TypeRegistry.for(n0).registerError(InternalServerException, __InternalServerException);
|
|
583
566
|
export var LifecyclePolicyDetail = [
|
|
584
567
|
3,
|
|
@@ -684,29 +667,9 @@ export var ListVpcEndpointsResponse = [
|
|
|
684
667
|
[_vES, _nT],
|
|
685
668
|
[() => VpcEndpointSummaries, 0],
|
|
686
669
|
];
|
|
687
|
-
export var OcuLimitExceededException = [
|
|
688
|
-
-3,
|
|
689
|
-
n0,
|
|
690
|
-
_OLEE,
|
|
691
|
-
{
|
|
692
|
-
[_e]: _c,
|
|
693
|
-
[_hE]: 402,
|
|
694
|
-
},
|
|
695
|
-
[_m],
|
|
696
|
-
[0],
|
|
697
|
-
];
|
|
670
|
+
export var OcuLimitExceededException = [-3, n0, _OLEE, { [_e]: _c, [_hE]: 402 }, [_m], [0]];
|
|
698
671
|
TypeRegistry.for(n0).registerError(OcuLimitExceededException, __OcuLimitExceededException);
|
|
699
|
-
export var ResourceNotFoundException = [
|
|
700
|
-
-3,
|
|
701
|
-
n0,
|
|
702
|
-
_RNFE,
|
|
703
|
-
{
|
|
704
|
-
[_e]: _c,
|
|
705
|
-
[_hE]: 404,
|
|
706
|
-
},
|
|
707
|
-
[_m],
|
|
708
|
-
[0],
|
|
709
|
-
];
|
|
672
|
+
export var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
|
|
710
673
|
TypeRegistry.for(n0).registerError(ResourceNotFoundException, __ResourceNotFoundException);
|
|
711
674
|
export var SamlConfigOptions = [3, n0, _SCO, 0, [_me, _uA, _gA, _oSSEI, _sT], [0, 0, 0, 0, 1]];
|
|
712
675
|
export var SecurityConfigDetail = [
|
|
@@ -747,10 +710,7 @@ export var ServiceQuotaExceededException = [
|
|
|
747
710
|
-3,
|
|
748
711
|
n0,
|
|
749
712
|
_SQEE,
|
|
750
|
-
{
|
|
751
|
-
[_e]: _c,
|
|
752
|
-
[_hE]: 402,
|
|
753
|
-
},
|
|
713
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
754
714
|
[_m, _rIe, _rT, _sC, _qC],
|
|
755
715
|
[0, 0, 0, 0, 0],
|
|
756
716
|
];
|
|
@@ -871,18 +831,9 @@ export var UpdateVpcEndpointResponse = [
|
|
|
871
831
|
[_UVED],
|
|
872
832
|
[() => UpdateVpcEndpointDetail],
|
|
873
833
|
];
|
|
874
|
-
export var ValidationException = [
|
|
875
|
-
-3,
|
|
876
|
-
n0,
|
|
877
|
-
_VE,
|
|
878
|
-
{
|
|
879
|
-
[_e]: _c,
|
|
880
|
-
[_hE]: 400,
|
|
881
|
-
},
|
|
882
|
-
[_m],
|
|
883
|
-
[0],
|
|
884
|
-
];
|
|
834
|
+
export var ValidationException = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
885
835
|
TypeRegistry.for(n0).registerError(ValidationException, __ValidationException);
|
|
836
|
+
export var VectorOptions = [3, n0, _VO, 0, [_SVA], [0]];
|
|
886
837
|
export var VpcEndpointDetail = [
|
|
887
838
|
3,
|
|
888
839
|
n0,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
2
|
import { BatchGetCollectionCommandInput, BatchGetCollectionCommandOutput } from "./commands/BatchGetCollectionCommand";
|
|
3
3
|
import { BatchGetEffectiveLifecyclePolicyCommandInput, BatchGetEffectiveLifecyclePolicyCommandOutput } from "./commands/BatchGetEffectiveLifecyclePolicyCommand";
|
|
4
4
|
import { BatchGetLifecyclePolicyCommandInput, BatchGetLifecyclePolicyCommandOutput } from "./commands/BatchGetLifecyclePolicyCommand";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
2
|
-
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
3
|
-
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
|
|
4
|
-
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
|
|
5
|
-
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
|
-
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
1
|
+
import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
2
|
+
import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
3
|
+
import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/config-resolver";
|
|
4
|
+
import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/middleware-endpoint";
|
|
5
|
+
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
|
+
import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
|
+
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
|
|
8
|
+
import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type ClientProtocol, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type HttpRequest, type HttpResponse, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
|
+
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import { BatchGetCollectionCommandInput, BatchGetCollectionCommandOutput } from "./commands/BatchGetCollectionCommand";
|
|
11
11
|
import { BatchGetEffectiveLifecyclePolicyCommandInput, BatchGetEffectiveLifecyclePolicyCommandOutput } from "./commands/BatchGetEffectiveLifecyclePolicyCommand";
|
|
12
12
|
import { BatchGetLifecyclePolicyCommandInput, BatchGetLifecyclePolicyCommandOutput } from "./commands/BatchGetLifecyclePolicyCommand";
|
|
@@ -49,7 +49,7 @@ import { UpdateSecurityConfigCommandInput, UpdateSecurityConfigCommandOutput } f
|
|
|
49
49
|
import { UpdateSecurityPolicyCommandInput, UpdateSecurityPolicyCommandOutput } from "./commands/UpdateSecurityPolicyCommand";
|
|
50
50
|
import { UpdateVpcEndpointCommandInput, UpdateVpcEndpointCommandOutput } from "./commands/UpdateVpcEndpointCommand";
|
|
51
51
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
52
|
-
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
52
|
+
import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
53
53
|
export { __Client };
|
|
54
54
|
/**
|
|
55
55
|
* @public
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AwsCredentialIdentity, AwsCredentialIdentityProvider
|
|
2
|
-
import { OpenSearchServerlessHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
1
|
+
import { type HttpAuthScheme, AwsCredentialIdentity, AwsCredentialIdentityProvider } from "@smithy/types";
|
|
2
|
+
import type { OpenSearchServerlessHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
|
|
2
|
-
import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
|
|
3
|
-
import { OpenSearchServerlessClientResolvedConfig } from "../OpenSearchServerlessClient";
|
|
2
|
+
import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
|
|
3
|
+
import { type OpenSearchServerlessClientResolvedConfig } from "../OpenSearchServerlessClient";
|
|
4
4
|
/**
|
|
5
5
|
* @internal
|
|
6
6
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { BatchGetCollectionRequest, BatchGetCollectionResponse } from "../models/models_0";
|
|
4
|
-
import { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BatchGetCollectionRequest, BatchGetCollectionResponse } from "../models/models_0";
|
|
4
|
+
import type { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -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",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { BatchGetEffectiveLifecyclePolicyRequest, BatchGetEffectiveLifecyclePolicyResponse } from "../models/models_0";
|
|
4
|
-
import { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BatchGetEffectiveLifecyclePolicyRequest, BatchGetEffectiveLifecyclePolicyResponse } from "../models/models_0";
|
|
4
|
+
import type { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { BatchGetLifecyclePolicyRequest, BatchGetLifecyclePolicyResponse } from "../models/models_0";
|
|
4
|
-
import { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BatchGetLifecyclePolicyRequest, BatchGetLifecyclePolicyResponse } from "../models/models_0";
|
|
4
|
+
import type { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { BatchGetVpcEndpointRequest, BatchGetVpcEndpointResponse } from "../models/models_0";
|
|
4
|
-
import { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BatchGetVpcEndpointRequest, BatchGetVpcEndpointResponse } from "../models/models_0";
|
|
4
|
+
import type { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { CreateAccessPolicyRequest, CreateAccessPolicyResponse } from "../models/models_0";
|
|
4
|
-
import { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CreateAccessPolicyRequest, CreateAccessPolicyResponse } from "../models/models_0";
|
|
4
|
+
import type { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { CreateCollectionRequest, CreateCollectionResponse } from "../models/models_0";
|
|
4
|
-
import { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CreateCollectionRequest, CreateCollectionResponse } from "../models/models_0";
|
|
4
|
+
import type { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -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
|
* // },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { CreateIndexRequest, CreateIndexResponse } from "../models/models_0";
|
|
4
|
-
import { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CreateIndexRequest, CreateIndexResponse } from "../models/models_0";
|
|
4
|
+
import type { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { CreateLifecyclePolicyRequest, CreateLifecyclePolicyResponse } from "../models/models_0";
|
|
4
|
-
import { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CreateLifecyclePolicyRequest, CreateLifecyclePolicyResponse } from "../models/models_0";
|
|
4
|
+
import type { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { CreateSecurityConfigRequest, CreateSecurityConfigResponse } from "../models/models_0";
|
|
4
|
-
import { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CreateSecurityConfigRequest, CreateSecurityConfigResponse } from "../models/models_0";
|
|
4
|
+
import type { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { CreateSecurityPolicyRequest, CreateSecurityPolicyResponse } from "../models/models_0";
|
|
4
|
-
import { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CreateSecurityPolicyRequest, CreateSecurityPolicyResponse } from "../models/models_0";
|
|
4
|
+
import type { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { CreateVpcEndpointRequest, CreateVpcEndpointResponse } from "../models/models_0";
|
|
4
|
-
import { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CreateVpcEndpointRequest, CreateVpcEndpointResponse } from "../models/models_0";
|
|
4
|
+
import type { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|