@aws-sdk/client-opensearchserverless 3.936.0 → 3.940.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
@@ -1974,6 +1974,55 @@ const paginateListSecurityPolicies = core.createPaginator(OpenSearchServerlessCl
1974
1974
 
1975
1975
  const paginateListVpcEndpoints = core.createPaginator(OpenSearchServerlessClient, ListVpcEndpointsCommand, "nextToken", "nextToken", "");
1976
1976
 
1977
+ const AccessPolicyType = {
1978
+ data: "data",
1979
+ };
1980
+ const StandbyReplicas = {
1981
+ DISABLED: "DISABLED",
1982
+ ENABLED: "ENABLED",
1983
+ };
1984
+ const CollectionStatus = {
1985
+ ACTIVE: "ACTIVE",
1986
+ CREATING: "CREATING",
1987
+ DELETING: "DELETING",
1988
+ FAILED: "FAILED",
1989
+ };
1990
+ const CollectionType = {
1991
+ SEARCH: "SEARCH",
1992
+ TIMESERIES: "TIMESERIES",
1993
+ VECTORSEARCH: "VECTORSEARCH",
1994
+ };
1995
+ const LifecyclePolicyType = {
1996
+ retention: "retention",
1997
+ };
1998
+ const ResourceType = {
1999
+ index: "index",
2000
+ };
2001
+ const VpcEndpointStatus = {
2002
+ ACTIVE: "ACTIVE",
2003
+ DELETING: "DELETING",
2004
+ FAILED: "FAILED",
2005
+ PENDING: "PENDING",
2006
+ };
2007
+ const IamIdentityCenterGroupAttribute = {
2008
+ GroupId: "GroupId",
2009
+ GroupName: "GroupName",
2010
+ };
2011
+ const IamIdentityCenterUserAttribute = {
2012
+ Email: "Email",
2013
+ UserId: "UserId",
2014
+ UserName: "UserName",
2015
+ };
2016
+ const SecurityConfigType = {
2017
+ iamfederation: "iamfederation",
2018
+ iamidentitycenter: "iamidentitycenter",
2019
+ saml: "saml",
2020
+ };
2021
+ const SecurityPolicyType = {
2022
+ encryption: "encryption",
2023
+ network: "network",
2024
+ };
2025
+
1977
2026
  Object.defineProperty(exports, "$Command", {
1978
2027
  enumerable: true,
1979
2028
  get: function () { return smithyClient.Command; }
@@ -1982,10 +2031,13 @@ Object.defineProperty(exports, "__Client", {
1982
2031
  enumerable: true,
1983
2032
  get: function () { return smithyClient.Client; }
1984
2033
  });
2034
+ exports.AccessPolicyType = AccessPolicyType;
1985
2035
  exports.BatchGetCollectionCommand = BatchGetCollectionCommand;
1986
2036
  exports.BatchGetEffectiveLifecyclePolicyCommand = BatchGetEffectiveLifecyclePolicyCommand;
1987
2037
  exports.BatchGetLifecyclePolicyCommand = BatchGetLifecyclePolicyCommand;
1988
2038
  exports.BatchGetVpcEndpointCommand = BatchGetVpcEndpointCommand;
2039
+ exports.CollectionStatus = CollectionStatus;
2040
+ exports.CollectionType = CollectionType;
1989
2041
  exports.ConflictException = ConflictException$1;
1990
2042
  exports.CreateAccessPolicyCommand = CreateAccessPolicyCommand;
1991
2043
  exports.CreateCollectionCommand = CreateCollectionCommand;
@@ -2007,7 +2059,10 @@ exports.GetIndexCommand = GetIndexCommand;
2007
2059
  exports.GetPoliciesStatsCommand = GetPoliciesStatsCommand;
2008
2060
  exports.GetSecurityConfigCommand = GetSecurityConfigCommand;
2009
2061
  exports.GetSecurityPolicyCommand = GetSecurityPolicyCommand;
2062
+ exports.IamIdentityCenterGroupAttribute = IamIdentityCenterGroupAttribute;
2063
+ exports.IamIdentityCenterUserAttribute = IamIdentityCenterUserAttribute;
2010
2064
  exports.InternalServerException = InternalServerException$1;
2065
+ exports.LifecyclePolicyType = LifecyclePolicyType;
2011
2066
  exports.ListAccessPoliciesCommand = ListAccessPoliciesCommand;
2012
2067
  exports.ListCollectionsCommand = ListCollectionsCommand;
2013
2068
  exports.ListLifecyclePoliciesCommand = ListLifecyclePoliciesCommand;
@@ -2020,7 +2075,11 @@ exports.OpenSearchServerless = OpenSearchServerless;
2020
2075
  exports.OpenSearchServerlessClient = OpenSearchServerlessClient;
2021
2076
  exports.OpenSearchServerlessServiceException = OpenSearchServerlessServiceException$1;
2022
2077
  exports.ResourceNotFoundException = ResourceNotFoundException$1;
2078
+ exports.ResourceType = ResourceType;
2079
+ exports.SecurityConfigType = SecurityConfigType;
2080
+ exports.SecurityPolicyType = SecurityPolicyType;
2023
2081
  exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
2082
+ exports.StandbyReplicas = StandbyReplicas;
2024
2083
  exports.TagResourceCommand = TagResourceCommand;
2025
2084
  exports.UntagResourceCommand = UntagResourceCommand;
2026
2085
  exports.UpdateAccessPolicyCommand = UpdateAccessPolicyCommand;
@@ -2032,6 +2091,7 @@ exports.UpdateSecurityConfigCommand = UpdateSecurityConfigCommand;
2032
2091
  exports.UpdateSecurityPolicyCommand = UpdateSecurityPolicyCommand;
2033
2092
  exports.UpdateVpcEndpointCommand = UpdateVpcEndpointCommand;
2034
2093
  exports.ValidationException = ValidationException$1;
2094
+ exports.VpcEndpointStatus = VpcEndpointStatus;
2035
2095
  exports.paginateListAccessPolicies = paginateListAccessPolicies;
2036
2096
  exports.paginateListCollections = paginateListCollections;
2037
2097
  exports.paginateListLifecyclePolicies = paginateListLifecyclePolicies;
package/dist-es/index.js CHANGED
@@ -2,5 +2,6 @@ export * from "./OpenSearchServerlessClient";
2
2
  export * from "./OpenSearchServerless";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
+ export * from "./models/enums";
5
6
  export * from "./models/errors";
6
7
  export { OpenSearchServerlessServiceException } from "./models/OpenSearchServerlessServiceException";
@@ -0,0 +1,48 @@
1
+ export const AccessPolicyType = {
2
+ data: "data",
3
+ };
4
+ export const StandbyReplicas = {
5
+ DISABLED: "DISABLED",
6
+ ENABLED: "ENABLED",
7
+ };
8
+ export const CollectionStatus = {
9
+ ACTIVE: "ACTIVE",
10
+ CREATING: "CREATING",
11
+ DELETING: "DELETING",
12
+ FAILED: "FAILED",
13
+ };
14
+ export const CollectionType = {
15
+ SEARCH: "SEARCH",
16
+ TIMESERIES: "TIMESERIES",
17
+ VECTORSEARCH: "VECTORSEARCH",
18
+ };
19
+ export const LifecyclePolicyType = {
20
+ retention: "retention",
21
+ };
22
+ export const ResourceType = {
23
+ index: "index",
24
+ };
25
+ export const VpcEndpointStatus = {
26
+ ACTIVE: "ACTIVE",
27
+ DELETING: "DELETING",
28
+ FAILED: "FAILED",
29
+ PENDING: "PENDING",
30
+ };
31
+ export const IamIdentityCenterGroupAttribute = {
32
+ GroupId: "GroupId",
33
+ GroupName: "GroupName",
34
+ };
35
+ export const IamIdentityCenterUserAttribute = {
36
+ Email: "Email",
37
+ UserId: "UserId",
38
+ UserName: "UserName",
39
+ };
40
+ export const SecurityConfigType = {
41
+ iamfederation: "iamfederation",
42
+ iamidentitycenter: "iamidentitycenter",
43
+ saml: "saml",
44
+ };
45
+ export const SecurityPolicyType = {
46
+ encryption: "encryption",
47
+ network: "network",
48
+ };
@@ -1,48 +1 @@
1
- export const AccessPolicyType = {
2
- data: "data",
3
- };
4
- export const StandbyReplicas = {
5
- DISABLED: "DISABLED",
6
- ENABLED: "ENABLED",
7
- };
8
- export const CollectionStatus = {
9
- ACTIVE: "ACTIVE",
10
- CREATING: "CREATING",
11
- DELETING: "DELETING",
12
- FAILED: "FAILED",
13
- };
14
- export const CollectionType = {
15
- SEARCH: "SEARCH",
16
- TIMESERIES: "TIMESERIES",
17
- VECTORSEARCH: "VECTORSEARCH",
18
- };
19
- export const LifecyclePolicyType = {
20
- retention: "retention",
21
- };
22
- export const ResourceType = {
23
- index: "index",
24
- };
25
- export const VpcEndpointStatus = {
26
- ACTIVE: "ACTIVE",
27
- DELETING: "DELETING",
28
- FAILED: "FAILED",
29
- PENDING: "PENDING",
30
- };
31
- export const IamIdentityCenterGroupAttribute = {
32
- GroupId: "GroupId",
33
- GroupName: "GroupName",
34
- };
35
- export const IamIdentityCenterUserAttribute = {
36
- Email: "Email",
37
- UserId: "UserId",
38
- UserName: "UserName",
39
- };
40
- export const SecurityConfigType = {
41
- iamfederation: "iamfederation",
42
- iamidentitycenter: "iamidentitycenter",
43
- saml: "saml",
44
- };
45
- export const SecurityPolicyType = {
46
- encryption: "encryption",
47
- network: "network",
48
- };
1
+ export {};
@@ -10,6 +10,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
10
10
  export type { OpenSearchServerlessExtensionConfiguration } from "./extensionConfiguration";
11
11
  export * from "./commands";
12
12
  export * from "./pagination";
13
+ export * from "./models/enums";
13
14
  export * from "./models/errors";
14
15
  export type * from "./models/models_0";
15
16
  export { OpenSearchServerlessServiceException } from "./models/OpenSearchServerlessServiceException";
@@ -0,0 +1,214 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const AccessPolicyType: {
6
+ /**
7
+ * data policy type
8
+ */
9
+ readonly data: "data";
10
+ };
11
+ /**
12
+ * @public
13
+ */
14
+ export type AccessPolicyType = (typeof AccessPolicyType)[keyof typeof AccessPolicyType];
15
+ /**
16
+ * @public
17
+ * @enum
18
+ */
19
+ export declare const StandbyReplicas: {
20
+ /**
21
+ * Standby replicas disabled
22
+ */
23
+ readonly DISABLED: "DISABLED";
24
+ /**
25
+ * Standby replicas enabled
26
+ */
27
+ readonly ENABLED: "ENABLED";
28
+ };
29
+ /**
30
+ * @public
31
+ */
32
+ export type StandbyReplicas = (typeof StandbyReplicas)[keyof typeof StandbyReplicas];
33
+ /**
34
+ * @public
35
+ * @enum
36
+ */
37
+ export declare const CollectionStatus: {
38
+ /**
39
+ * Collection resource is ready to use
40
+ */
41
+ readonly ACTIVE: "ACTIVE";
42
+ /**
43
+ * Creating collection resource
44
+ */
45
+ readonly CREATING: "CREATING";
46
+ /**
47
+ * Deleting collection resource
48
+ */
49
+ readonly DELETING: "DELETING";
50
+ /**
51
+ * Collection resource create or delete failed
52
+ */
53
+ readonly FAILED: "FAILED";
54
+ };
55
+ /**
56
+ * @public
57
+ */
58
+ export type CollectionStatus = (typeof CollectionStatus)[keyof typeof CollectionStatus];
59
+ /**
60
+ * @public
61
+ * @enum
62
+ */
63
+ export declare const CollectionType: {
64
+ /**
65
+ * Search collection type
66
+ */
67
+ readonly SEARCH: "SEARCH";
68
+ /**
69
+ * Timeseries collection type
70
+ */
71
+ readonly TIMESERIES: "TIMESERIES";
72
+ /**
73
+ * Vectorsearch collection type
74
+ */
75
+ readonly VECTORSEARCH: "VECTORSEARCH";
76
+ };
77
+ /**
78
+ * @public
79
+ */
80
+ export type CollectionType = (typeof CollectionType)[keyof typeof CollectionType];
81
+ /**
82
+ * @public
83
+ * @enum
84
+ */
85
+ export declare const LifecyclePolicyType: {
86
+ /**
87
+ * retention policy type
88
+ */
89
+ readonly retention: "retention";
90
+ };
91
+ /**
92
+ * @public
93
+ */
94
+ export type LifecyclePolicyType = (typeof LifecyclePolicyType)[keyof typeof LifecyclePolicyType];
95
+ /**
96
+ * @public
97
+ * @enum
98
+ */
99
+ export declare const ResourceType: {
100
+ /**
101
+ * index resource type
102
+ */
103
+ readonly index: "index";
104
+ };
105
+ /**
106
+ * @public
107
+ */
108
+ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
109
+ /**
110
+ * @public
111
+ * @enum
112
+ */
113
+ export declare const VpcEndpointStatus: {
114
+ /**
115
+ * VPCEndpoint resource is ready to use
116
+ */
117
+ readonly ACTIVE: "ACTIVE";
118
+ /**
119
+ * Deleting VPCEndpoint resource
120
+ */
121
+ readonly DELETING: "DELETING";
122
+ /**
123
+ * VPCEndpoint resource create or delete failed
124
+ */
125
+ readonly FAILED: "FAILED";
126
+ /**
127
+ * Pending VPCEndpoint resource
128
+ */
129
+ readonly PENDING: "PENDING";
130
+ };
131
+ /**
132
+ * @public
133
+ */
134
+ export type VpcEndpointStatus = (typeof VpcEndpointStatus)[keyof typeof VpcEndpointStatus];
135
+ /**
136
+ * @public
137
+ * @enum
138
+ */
139
+ export declare const IamIdentityCenterGroupAttribute: {
140
+ /**
141
+ * Group ID
142
+ */
143
+ readonly GroupId: "GroupId";
144
+ /**
145
+ * Group Name
146
+ */
147
+ readonly GroupName: "GroupName";
148
+ };
149
+ /**
150
+ * @public
151
+ */
152
+ export type IamIdentityCenterGroupAttribute = (typeof IamIdentityCenterGroupAttribute)[keyof typeof IamIdentityCenterGroupAttribute];
153
+ /**
154
+ * @public
155
+ * @enum
156
+ */
157
+ export declare const IamIdentityCenterUserAttribute: {
158
+ /**
159
+ * Email
160
+ */
161
+ readonly Email: "Email";
162
+ /**
163
+ * User ID
164
+ */
165
+ readonly UserId: "UserId";
166
+ /**
167
+ * User Name
168
+ */
169
+ readonly UserName: "UserName";
170
+ };
171
+ /**
172
+ * @public
173
+ */
174
+ export type IamIdentityCenterUserAttribute = (typeof IamIdentityCenterUserAttribute)[keyof typeof IamIdentityCenterUserAttribute];
175
+ /**
176
+ * @public
177
+ * @enum
178
+ */
179
+ export declare const SecurityConfigType: {
180
+ /**
181
+ * iam federation
182
+ */
183
+ readonly iamfederation: "iamfederation";
184
+ /**
185
+ * iam identity center
186
+ */
187
+ readonly iamidentitycenter: "iamidentitycenter";
188
+ /**
189
+ * saml provider
190
+ */
191
+ readonly saml: "saml";
192
+ };
193
+ /**
194
+ * @public
195
+ */
196
+ export type SecurityConfigType = (typeof SecurityConfigType)[keyof typeof SecurityConfigType];
197
+ /**
198
+ * @public
199
+ * @enum
200
+ */
201
+ export declare const SecurityPolicyType: {
202
+ /**
203
+ * encryption policy type
204
+ */
205
+ readonly encryption: "encryption";
206
+ /**
207
+ * network policy type
208
+ */
209
+ readonly network: "network";
210
+ };
211
+ /**
212
+ * @public
213
+ */
214
+ export type SecurityPolicyType = (typeof SecurityPolicyType)[keyof typeof SecurityPolicyType];
@@ -1,18 +1,5 @@
1
1
  import { DocumentType as __DocumentType } from "@smithy/types";
2
- /**
3
- * @public
4
- * @enum
5
- */
6
- export declare const AccessPolicyType: {
7
- /**
8
- * data policy type
9
- */
10
- readonly data: "data";
11
- };
12
- /**
13
- * @public
14
- */
15
- export type AccessPolicyType = (typeof AccessPolicyType)[keyof typeof AccessPolicyType];
2
+ import { AccessPolicyType, CollectionStatus, CollectionType, IamIdentityCenterGroupAttribute, IamIdentityCenterUserAttribute, LifecyclePolicyType, ResourceType, SecurityConfigType, SecurityPolicyType, StandbyReplicas, VpcEndpointStatus } from "./enums";
16
3
  /**
17
4
  * @public
18
5
  */
@@ -334,72 +321,6 @@ export interface FipsEndpoints {
334
321
  */
335
322
  dashboardEndpoint?: string | undefined;
336
323
  }
337
- /**
338
- * @public
339
- * @enum
340
- */
341
- export declare const StandbyReplicas: {
342
- /**
343
- * Standby replicas disabled
344
- */
345
- readonly DISABLED: "DISABLED";
346
- /**
347
- * Standby replicas enabled
348
- */
349
- readonly ENABLED: "ENABLED";
350
- };
351
- /**
352
- * @public
353
- */
354
- export type StandbyReplicas = (typeof StandbyReplicas)[keyof typeof StandbyReplicas];
355
- /**
356
- * @public
357
- * @enum
358
- */
359
- export declare const CollectionStatus: {
360
- /**
361
- * Collection resource is ready to use
362
- */
363
- readonly ACTIVE: "ACTIVE";
364
- /**
365
- * Creating collection resource
366
- */
367
- readonly CREATING: "CREATING";
368
- /**
369
- * Deleting collection resource
370
- */
371
- readonly DELETING: "DELETING";
372
- /**
373
- * Collection resource create or delete failed
374
- */
375
- readonly FAILED: "FAILED";
376
- };
377
- /**
378
- * @public
379
- */
380
- export type CollectionStatus = (typeof CollectionStatus)[keyof typeof CollectionStatus];
381
- /**
382
- * @public
383
- * @enum
384
- */
385
- export declare const CollectionType: {
386
- /**
387
- * Search collection type
388
- */
389
- readonly SEARCH: "SEARCH";
390
- /**
391
- * Timeseries collection type
392
- */
393
- readonly TIMESERIES: "TIMESERIES";
394
- /**
395
- * Vectorsearch collection type
396
- */
397
- readonly VECTORSEARCH: "VECTORSEARCH";
398
- };
399
- /**
400
- * @public
401
- */
402
- export type CollectionType = (typeof CollectionType)[keyof typeof CollectionType];
403
324
  /**
404
325
  * <p>Details about each OpenSearch Serverless collection, including the collection endpoint, the OpenSearch Dashboards endpoint, and FIPS-compliant endpoints for federal government workloads.</p>
405
326
  * @public
@@ -522,20 +443,6 @@ export interface BatchGetCollectionResponse {
522
443
  */
523
444
  collectionErrorDetails?: CollectionErrorDetail[] | undefined;
524
445
  }
525
- /**
526
- * @public
527
- * @enum
528
- */
529
- export declare const LifecyclePolicyType: {
530
- /**
531
- * retention policy type
532
- */
533
- readonly retention: "retention";
534
- };
535
- /**
536
- * @public
537
- */
538
- export type LifecyclePolicyType = (typeof LifecyclePolicyType)[keyof typeof LifecyclePolicyType];
539
446
  /**
540
447
  * <p>The unique identifiers of policy types and resource names.</p>
541
448
  * @public
@@ -562,20 +469,6 @@ export interface BatchGetEffectiveLifecyclePolicyRequest {
562
469
  */
563
470
  resourceIdentifiers: LifecyclePolicyResourceIdentifier[] | undefined;
564
471
  }
565
- /**
566
- * @public
567
- * @enum
568
- */
569
- export declare const ResourceType: {
570
- /**
571
- * index resource type
572
- */
573
- readonly index: "index";
574
- };
575
- /**
576
- * @public
577
- */
578
- export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
579
472
  /**
580
473
  * <p>Error information for an OpenSearch Serverless request.</p>
581
474
  * @public
@@ -771,32 +664,6 @@ export interface BatchGetVpcEndpointRequest {
771
664
  */
772
665
  ids: string[] | undefined;
773
666
  }
774
- /**
775
- * @public
776
- * @enum
777
- */
778
- export declare const VpcEndpointStatus: {
779
- /**
780
- * VPCEndpoint resource is ready to use
781
- */
782
- readonly ACTIVE: "ACTIVE";
783
- /**
784
- * Deleting VPCEndpoint resource
785
- */
786
- readonly DELETING: "DELETING";
787
- /**
788
- * VPCEndpoint resource create or delete failed
789
- */
790
- readonly FAILED: "FAILED";
791
- /**
792
- * Pending VPCEndpoint resource
793
- */
794
- readonly PENDING: "PENDING";
795
- };
796
- /**
797
- * @public
798
- */
799
- export type VpcEndpointStatus = (typeof VpcEndpointStatus)[keyof typeof VpcEndpointStatus];
800
667
  /**
801
668
  * <p>Details about an OpenSearch Serverless-managed interface endpoint.</p>
802
669
  * @public
@@ -1200,46 +1067,6 @@ export interface UpdateCollectionResponse {
1200
1067
  */
1201
1068
  updateCollectionDetail?: UpdateCollectionDetail | undefined;
1202
1069
  }
1203
- /**
1204
- * @public
1205
- * @enum
1206
- */
1207
- export declare const IamIdentityCenterGroupAttribute: {
1208
- /**
1209
- * Group ID
1210
- */
1211
- readonly GroupId: "GroupId";
1212
- /**
1213
- * Group Name
1214
- */
1215
- readonly GroupName: "GroupName";
1216
- };
1217
- /**
1218
- * @public
1219
- */
1220
- export type IamIdentityCenterGroupAttribute = (typeof IamIdentityCenterGroupAttribute)[keyof typeof IamIdentityCenterGroupAttribute];
1221
- /**
1222
- * @public
1223
- * @enum
1224
- */
1225
- export declare const IamIdentityCenterUserAttribute: {
1226
- /**
1227
- * Email
1228
- */
1229
- readonly Email: "Email";
1230
- /**
1231
- * User ID
1232
- */
1233
- readonly UserId: "UserId";
1234
- /**
1235
- * User Name
1236
- */
1237
- readonly UserName: "UserName";
1238
- };
1239
- /**
1240
- * @public
1241
- */
1242
- export type IamIdentityCenterUserAttribute = (typeof IamIdentityCenterUserAttribute)[keyof typeof IamIdentityCenterUserAttribute];
1243
1070
  /**
1244
1071
  * <p>Describes IAM Identity Center options for creating an OpenSearch Serverless security configuration in the form of a key-value map.</p>
1245
1072
  * @public
@@ -1373,28 +1200,6 @@ export interface SamlConfigOptions {
1373
1200
  */
1374
1201
  sessionTimeout?: number | undefined;
1375
1202
  }
1376
- /**
1377
- * @public
1378
- * @enum
1379
- */
1380
- export declare const SecurityConfigType: {
1381
- /**
1382
- * iam federation
1383
- */
1384
- readonly iamfederation: "iamfederation";
1385
- /**
1386
- * iam identity center
1387
- */
1388
- readonly iamidentitycenter: "iamidentitycenter";
1389
- /**
1390
- * saml provider
1391
- */
1392
- readonly saml: "saml";
1393
- };
1394
- /**
1395
- * @public
1396
- */
1397
- export type SecurityConfigType = (typeof SecurityConfigType)[keyof typeof SecurityConfigType];
1398
1203
  /**
1399
1204
  * @public
1400
1205
  */
@@ -1532,24 +1337,6 @@ export interface CreateSecurityConfigResponse {
1532
1337
  */
1533
1338
  securityConfigDetail?: SecurityConfigDetail | undefined;
1534
1339
  }
1535
- /**
1536
- * @public
1537
- * @enum
1538
- */
1539
- export declare const SecurityPolicyType: {
1540
- /**
1541
- * encryption policy type
1542
- */
1543
- readonly encryption: "encryption";
1544
- /**
1545
- * network policy type
1546
- */
1547
- readonly network: "network";
1548
- };
1549
- /**
1550
- * @public
1551
- */
1552
- export type SecurityPolicyType = (typeof SecurityPolicyType)[keyof typeof SecurityPolicyType];
1553
1340
  /**
1554
1341
  * @public
1555
1342
  */
@@ -5,6 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { OpenSearchServerlessExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
+ export * from "./models/enums";
8
9
  export * from "./models/errors";
9
10
  export * from "./models/models_0";
10
11
  export { OpenSearchServerlessServiceException } from "./models/OpenSearchServerlessServiceException";
@@ -0,0 +1,69 @@
1
+ export declare const AccessPolicyType: {
2
+ readonly data: "data";
3
+ };
4
+ export type AccessPolicyType =
5
+ (typeof AccessPolicyType)[keyof typeof AccessPolicyType];
6
+ export declare const StandbyReplicas: {
7
+ readonly DISABLED: "DISABLED";
8
+ readonly ENABLED: "ENABLED";
9
+ };
10
+ export type StandbyReplicas =
11
+ (typeof StandbyReplicas)[keyof typeof StandbyReplicas];
12
+ export declare const CollectionStatus: {
13
+ readonly ACTIVE: "ACTIVE";
14
+ readonly CREATING: "CREATING";
15
+ readonly DELETING: "DELETING";
16
+ readonly FAILED: "FAILED";
17
+ };
18
+ export type CollectionStatus =
19
+ (typeof CollectionStatus)[keyof typeof CollectionStatus];
20
+ export declare const CollectionType: {
21
+ readonly SEARCH: "SEARCH";
22
+ readonly TIMESERIES: "TIMESERIES";
23
+ readonly VECTORSEARCH: "VECTORSEARCH";
24
+ };
25
+ export type CollectionType =
26
+ (typeof CollectionType)[keyof typeof CollectionType];
27
+ export declare const LifecyclePolicyType: {
28
+ readonly retention: "retention";
29
+ };
30
+ export type LifecyclePolicyType =
31
+ (typeof LifecyclePolicyType)[keyof typeof LifecyclePolicyType];
32
+ export declare const ResourceType: {
33
+ readonly index: "index";
34
+ };
35
+ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
36
+ export declare const VpcEndpointStatus: {
37
+ readonly ACTIVE: "ACTIVE";
38
+ readonly DELETING: "DELETING";
39
+ readonly FAILED: "FAILED";
40
+ readonly PENDING: "PENDING";
41
+ };
42
+ export type VpcEndpointStatus =
43
+ (typeof VpcEndpointStatus)[keyof typeof VpcEndpointStatus];
44
+ export declare const IamIdentityCenterGroupAttribute: {
45
+ readonly GroupId: "GroupId";
46
+ readonly GroupName: "GroupName";
47
+ };
48
+ export type IamIdentityCenterGroupAttribute =
49
+ (typeof IamIdentityCenterGroupAttribute)[keyof typeof IamIdentityCenterGroupAttribute];
50
+ export declare const IamIdentityCenterUserAttribute: {
51
+ readonly Email: "Email";
52
+ readonly UserId: "UserId";
53
+ readonly UserName: "UserName";
54
+ };
55
+ export type IamIdentityCenterUserAttribute =
56
+ (typeof IamIdentityCenterUserAttribute)[keyof typeof IamIdentityCenterUserAttribute];
57
+ export declare const SecurityConfigType: {
58
+ readonly iamfederation: "iamfederation";
59
+ readonly iamidentitycenter: "iamidentitycenter";
60
+ readonly saml: "saml";
61
+ };
62
+ export type SecurityConfigType =
63
+ (typeof SecurityConfigType)[keyof typeof SecurityConfigType];
64
+ export declare const SecurityPolicyType: {
65
+ readonly encryption: "encryption";
66
+ readonly network: "network";
67
+ };
68
+ export type SecurityPolicyType =
69
+ (typeof SecurityPolicyType)[keyof typeof SecurityPolicyType];
@@ -1,9 +1,17 @@
1
1
  import { DocumentType as __DocumentType } from "@smithy/types";
2
- export declare const AccessPolicyType: {
3
- readonly data: "data";
4
- };
5
- export type AccessPolicyType =
6
- (typeof AccessPolicyType)[keyof typeof AccessPolicyType];
2
+ import {
3
+ AccessPolicyType,
4
+ CollectionStatus,
5
+ CollectionType,
6
+ IamIdentityCenterGroupAttribute,
7
+ IamIdentityCenterUserAttribute,
8
+ LifecyclePolicyType,
9
+ ResourceType,
10
+ SecurityConfigType,
11
+ SecurityPolicyType,
12
+ StandbyReplicas,
13
+ VpcEndpointStatus,
14
+ } from "./enums";
7
15
  export interface CreateAccessPolicyRequest {
8
16
  type: AccessPolicyType | undefined;
9
17
  name: string | undefined;
@@ -83,27 +91,6 @@ export interface FipsEndpoints {
83
91
  collectionEndpoint?: string | undefined;
84
92
  dashboardEndpoint?: string | undefined;
85
93
  }
86
- export declare const StandbyReplicas: {
87
- readonly DISABLED: "DISABLED";
88
- readonly ENABLED: "ENABLED";
89
- };
90
- export type StandbyReplicas =
91
- (typeof StandbyReplicas)[keyof typeof StandbyReplicas];
92
- export declare const CollectionStatus: {
93
- readonly ACTIVE: "ACTIVE";
94
- readonly CREATING: "CREATING";
95
- readonly DELETING: "DELETING";
96
- readonly FAILED: "FAILED";
97
- };
98
- export type CollectionStatus =
99
- (typeof CollectionStatus)[keyof typeof CollectionStatus];
100
- export declare const CollectionType: {
101
- readonly SEARCH: "SEARCH";
102
- readonly TIMESERIES: "TIMESERIES";
103
- readonly VECTORSEARCH: "VECTORSEARCH";
104
- };
105
- export type CollectionType =
106
- (typeof CollectionType)[keyof typeof CollectionType];
107
94
  export interface CollectionDetail {
108
95
  id?: string | undefined;
109
96
  name?: string | undefined;
@@ -131,11 +118,6 @@ export interface BatchGetCollectionResponse {
131
118
  collectionDetails?: CollectionDetail[] | undefined;
132
119
  collectionErrorDetails?: CollectionErrorDetail[] | undefined;
133
120
  }
134
- export declare const LifecyclePolicyType: {
135
- readonly retention: "retention";
136
- };
137
- export type LifecyclePolicyType =
138
- (typeof LifecyclePolicyType)[keyof typeof LifecyclePolicyType];
139
121
  export interface LifecyclePolicyResourceIdentifier {
140
122
  type: LifecyclePolicyType | undefined;
141
123
  resource: string | undefined;
@@ -143,10 +125,6 @@ export interface LifecyclePolicyResourceIdentifier {
143
125
  export interface BatchGetEffectiveLifecyclePolicyRequest {
144
126
  resourceIdentifiers: LifecyclePolicyResourceIdentifier[] | undefined;
145
127
  }
146
- export declare const ResourceType: {
147
- readonly index: "index";
148
- };
149
- export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
150
128
  export interface EffectiveLifecyclePolicyDetail {
151
129
  type?: LifecyclePolicyType | undefined;
152
130
  resource?: string | undefined;
@@ -198,14 +176,6 @@ export interface BatchGetLifecyclePolicyResponse {
198
176
  export interface BatchGetVpcEndpointRequest {
199
177
  ids: string[] | undefined;
200
178
  }
201
- export declare const VpcEndpointStatus: {
202
- readonly ACTIVE: "ACTIVE";
203
- readonly DELETING: "DELETING";
204
- readonly FAILED: "FAILED";
205
- readonly PENDING: "PENDING";
206
- };
207
- export type VpcEndpointStatus =
208
- (typeof VpcEndpointStatus)[keyof typeof VpcEndpointStatus];
209
179
  export interface VpcEndpointDetail {
210
180
  id?: string | undefined;
211
181
  name?: string | undefined;
@@ -302,19 +272,6 @@ export interface UpdateCollectionDetail {
302
272
  export interface UpdateCollectionResponse {
303
273
  updateCollectionDetail?: UpdateCollectionDetail | undefined;
304
274
  }
305
- export declare const IamIdentityCenterGroupAttribute: {
306
- readonly GroupId: "GroupId";
307
- readonly GroupName: "GroupName";
308
- };
309
- export type IamIdentityCenterGroupAttribute =
310
- (typeof IamIdentityCenterGroupAttribute)[keyof typeof IamIdentityCenterGroupAttribute];
311
- export declare const IamIdentityCenterUserAttribute: {
312
- readonly Email: "Email";
313
- readonly UserId: "UserId";
314
- readonly UserName: "UserName";
315
- };
316
- export type IamIdentityCenterUserAttribute =
317
- (typeof IamIdentityCenterUserAttribute)[keyof typeof IamIdentityCenterUserAttribute];
318
275
  export interface CreateIamIdentityCenterConfigOptions {
319
276
  instanceArn: string | undefined;
320
277
  userAttribute?: IamIdentityCenterUserAttribute | undefined;
@@ -347,13 +304,6 @@ export interface SamlConfigOptions {
347
304
  openSearchServerlessEntityId?: string | undefined;
348
305
  sessionTimeout?: number | undefined;
349
306
  }
350
- export declare const SecurityConfigType: {
351
- readonly iamfederation: "iamfederation";
352
- readonly iamidentitycenter: "iamidentitycenter";
353
- readonly saml: "saml";
354
- };
355
- export type SecurityConfigType =
356
- (typeof SecurityConfigType)[keyof typeof SecurityConfigType];
357
307
  export interface CreateSecurityConfigRequest {
358
308
  type: SecurityConfigType | undefined;
359
309
  name: string | undefined;
@@ -385,12 +335,6 @@ export interface SecurityConfigDetail {
385
335
  export interface CreateSecurityConfigResponse {
386
336
  securityConfigDetail?: SecurityConfigDetail | undefined;
387
337
  }
388
- export declare const SecurityPolicyType: {
389
- readonly encryption: "encryption";
390
- readonly network: "network";
391
- };
392
- export type SecurityPolicyType =
393
- (typeof SecurityPolicyType)[keyof typeof SecurityPolicyType];
394
338
  export interface CreateSecurityPolicyRequest {
395
339
  type: SecurityPolicyType | undefined;
396
340
  name: string | undefined;
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.936.0",
4
+ "version": "3.940.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.936.0",
24
- "@aws-sdk/credential-provider-node": "3.936.0",
23
+ "@aws-sdk/core": "3.940.0",
24
+ "@aws-sdk/credential-provider-node": "3.940.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.936.0",
28
+ "@aws-sdk/middleware-user-agent": "3.940.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.936.0",
33
+ "@aws-sdk/util-user-agent-node": "3.940.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",