@aws-sdk/client-opensearchserverless 3.933.0 → 3.935.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
@@ -117,9 +117,6 @@ let OpenSearchServerlessServiceException$1 = class OpenSearchServerlessServiceEx
117
117
  }
118
118
  };
119
119
 
120
- const AccessPolicyType = {
121
- data: "data",
122
- };
123
120
  let ConflictException$1 = class ConflictException extends OpenSearchServerlessServiceException$1 {
124
121
  name = "ConflictException";
125
122
  $fault = "client";
@@ -188,33 +185,6 @@ let ResourceNotFoundException$1 = class ResourceNotFoundException extends OpenSe
188
185
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
189
186
  }
190
187
  };
191
- const StandbyReplicas = {
192
- DISABLED: "DISABLED",
193
- ENABLED: "ENABLED",
194
- };
195
- const CollectionStatus = {
196
- ACTIVE: "ACTIVE",
197
- CREATING: "CREATING",
198
- DELETING: "DELETING",
199
- FAILED: "FAILED",
200
- };
201
- const CollectionType = {
202
- SEARCH: "SEARCH",
203
- TIMESERIES: "TIMESERIES",
204
- VECTORSEARCH: "VECTORSEARCH",
205
- };
206
- const LifecyclePolicyType = {
207
- retention: "retention",
208
- };
209
- const ResourceType = {
210
- index: "index",
211
- };
212
- const VpcEndpointStatus = {
213
- ACTIVE: "ACTIVE",
214
- DELETING: "DELETING",
215
- FAILED: "FAILED",
216
- PENDING: "PENDING",
217
- };
218
188
  let OcuLimitExceededException$1 = class OcuLimitExceededException extends OpenSearchServerlessServiceException$1 {
219
189
  name = "OcuLimitExceededException";
220
190
  $fault = "client";
@@ -227,24 +197,6 @@ let OcuLimitExceededException$1 = class OcuLimitExceededException extends OpenSe
227
197
  Object.setPrototypeOf(this, OcuLimitExceededException.prototype);
228
198
  }
229
199
  };
230
- const IamIdentityCenterGroupAttribute = {
231
- GroupId: "GroupId",
232
- GroupName: "GroupName",
233
- };
234
- const IamIdentityCenterUserAttribute = {
235
- Email: "Email",
236
- UserId: "UserId",
237
- UserName: "UserName",
238
- };
239
- const SecurityConfigType = {
240
- iamfederation: "iamfederation",
241
- iamidentitycenter: "iamidentitycenter",
242
- saml: "saml",
243
- };
244
- const SecurityPolicyType = {
245
- encryption: "encryption",
246
- network: "network",
247
- };
248
200
 
249
201
  const _APD = "AccessPolicyDetail";
250
202
  const _APS = "AccessPolicyStats";
@@ -2030,13 +1982,10 @@ Object.defineProperty(exports, "__Client", {
2030
1982
  enumerable: true,
2031
1983
  get: function () { return smithyClient.Client; }
2032
1984
  });
2033
- exports.AccessPolicyType = AccessPolicyType;
2034
1985
  exports.BatchGetCollectionCommand = BatchGetCollectionCommand;
2035
1986
  exports.BatchGetEffectiveLifecyclePolicyCommand = BatchGetEffectiveLifecyclePolicyCommand;
2036
1987
  exports.BatchGetLifecyclePolicyCommand = BatchGetLifecyclePolicyCommand;
2037
1988
  exports.BatchGetVpcEndpointCommand = BatchGetVpcEndpointCommand;
2038
- exports.CollectionStatus = CollectionStatus;
2039
- exports.CollectionType = CollectionType;
2040
1989
  exports.ConflictException = ConflictException$1;
2041
1990
  exports.CreateAccessPolicyCommand = CreateAccessPolicyCommand;
2042
1991
  exports.CreateCollectionCommand = CreateCollectionCommand;
@@ -2058,10 +2007,7 @@ exports.GetIndexCommand = GetIndexCommand;
2058
2007
  exports.GetPoliciesStatsCommand = GetPoliciesStatsCommand;
2059
2008
  exports.GetSecurityConfigCommand = GetSecurityConfigCommand;
2060
2009
  exports.GetSecurityPolicyCommand = GetSecurityPolicyCommand;
2061
- exports.IamIdentityCenterGroupAttribute = IamIdentityCenterGroupAttribute;
2062
- exports.IamIdentityCenterUserAttribute = IamIdentityCenterUserAttribute;
2063
2010
  exports.InternalServerException = InternalServerException$1;
2064
- exports.LifecyclePolicyType = LifecyclePolicyType;
2065
2011
  exports.ListAccessPoliciesCommand = ListAccessPoliciesCommand;
2066
2012
  exports.ListCollectionsCommand = ListCollectionsCommand;
2067
2013
  exports.ListLifecyclePoliciesCommand = ListLifecyclePoliciesCommand;
@@ -2074,11 +2020,7 @@ exports.OpenSearchServerless = OpenSearchServerless;
2074
2020
  exports.OpenSearchServerlessClient = OpenSearchServerlessClient;
2075
2021
  exports.OpenSearchServerlessServiceException = OpenSearchServerlessServiceException$1;
2076
2022
  exports.ResourceNotFoundException = ResourceNotFoundException$1;
2077
- exports.ResourceType = ResourceType;
2078
- exports.SecurityConfigType = SecurityConfigType;
2079
- exports.SecurityPolicyType = SecurityPolicyType;
2080
2023
  exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
2081
- exports.StandbyReplicas = StandbyReplicas;
2082
2024
  exports.TagResourceCommand = TagResourceCommand;
2083
2025
  exports.UntagResourceCommand = UntagResourceCommand;
2084
2026
  exports.UpdateAccessPolicyCommand = UpdateAccessPolicyCommand;
@@ -2090,7 +2032,6 @@ exports.UpdateSecurityConfigCommand = UpdateSecurityConfigCommand;
2090
2032
  exports.UpdateSecurityPolicyCommand = UpdateSecurityPolicyCommand;
2091
2033
  exports.UpdateVpcEndpointCommand = UpdateVpcEndpointCommand;
2092
2034
  exports.ValidationException = ValidationException$1;
2093
- exports.VpcEndpointStatus = VpcEndpointStatus;
2094
2035
  exports.paginateListAccessPolicies = paginateListAccessPolicies;
2095
2036
  exports.paginateListCollections = paginateListCollections;
2096
2037
  exports.paginateListLifecyclePolicies = paginateListLifecyclePolicies;
package/dist-es/index.js CHANGED
@@ -2,5 +2,5 @@ export * from "./OpenSearchServerlessClient";
2
2
  export * from "./OpenSearchServerless";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
- export * from "./models";
5
+ export * from "./models/errors";
6
6
  export { OpenSearchServerlessServiceException } from "./models/OpenSearchServerlessServiceException";
@@ -0,0 +1,81 @@
1
+ import { OpenSearchServerlessServiceException as __BaseException } from "./OpenSearchServerlessServiceException";
2
+ export class ConflictException extends __BaseException {
3
+ name = "ConflictException";
4
+ $fault = "client";
5
+ constructor(opts) {
6
+ super({
7
+ name: "ConflictException",
8
+ $fault: "client",
9
+ ...opts,
10
+ });
11
+ Object.setPrototypeOf(this, ConflictException.prototype);
12
+ }
13
+ }
14
+ export class InternalServerException extends __BaseException {
15
+ name = "InternalServerException";
16
+ $fault = "server";
17
+ constructor(opts) {
18
+ super({
19
+ name: "InternalServerException",
20
+ $fault: "server",
21
+ ...opts,
22
+ });
23
+ Object.setPrototypeOf(this, InternalServerException.prototype);
24
+ }
25
+ }
26
+ export class ServiceQuotaExceededException extends __BaseException {
27
+ name = "ServiceQuotaExceededException";
28
+ $fault = "client";
29
+ resourceId;
30
+ resourceType;
31
+ serviceCode;
32
+ quotaCode;
33
+ constructor(opts) {
34
+ super({
35
+ name: "ServiceQuotaExceededException",
36
+ $fault: "client",
37
+ ...opts,
38
+ });
39
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
40
+ this.resourceId = opts.resourceId;
41
+ this.resourceType = opts.resourceType;
42
+ this.serviceCode = opts.serviceCode;
43
+ this.quotaCode = opts.quotaCode;
44
+ }
45
+ }
46
+ export class ValidationException extends __BaseException {
47
+ name = "ValidationException";
48
+ $fault = "client";
49
+ constructor(opts) {
50
+ super({
51
+ name: "ValidationException",
52
+ $fault: "client",
53
+ ...opts,
54
+ });
55
+ Object.setPrototypeOf(this, ValidationException.prototype);
56
+ }
57
+ }
58
+ export class ResourceNotFoundException extends __BaseException {
59
+ name = "ResourceNotFoundException";
60
+ $fault = "client";
61
+ constructor(opts) {
62
+ super({
63
+ name: "ResourceNotFoundException",
64
+ $fault: "client",
65
+ ...opts,
66
+ });
67
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
68
+ }
69
+ }
70
+ export class OcuLimitExceededException extends __BaseException {
71
+ name = "OcuLimitExceededException";
72
+ $fault = "client";
73
+ constructor(opts) {
74
+ super({
75
+ name: "OcuLimitExceededException",
76
+ $fault: "client",
77
+ ...opts,
78
+ });
79
+ Object.setPrototypeOf(this, OcuLimitExceededException.prototype);
80
+ }
81
+ }
@@ -1,75 +1,6 @@
1
- import { OpenSearchServerlessServiceException as __BaseException } from "./OpenSearchServerlessServiceException";
2
1
  export const AccessPolicyType = {
3
2
  data: "data",
4
3
  };
5
- export class ConflictException extends __BaseException {
6
- name = "ConflictException";
7
- $fault = "client";
8
- constructor(opts) {
9
- super({
10
- name: "ConflictException",
11
- $fault: "client",
12
- ...opts,
13
- });
14
- Object.setPrototypeOf(this, ConflictException.prototype);
15
- }
16
- }
17
- export class InternalServerException extends __BaseException {
18
- name = "InternalServerException";
19
- $fault = "server";
20
- constructor(opts) {
21
- super({
22
- name: "InternalServerException",
23
- $fault: "server",
24
- ...opts,
25
- });
26
- Object.setPrototypeOf(this, InternalServerException.prototype);
27
- }
28
- }
29
- export class ServiceQuotaExceededException extends __BaseException {
30
- name = "ServiceQuotaExceededException";
31
- $fault = "client";
32
- resourceId;
33
- resourceType;
34
- serviceCode;
35
- quotaCode;
36
- constructor(opts) {
37
- super({
38
- name: "ServiceQuotaExceededException",
39
- $fault: "client",
40
- ...opts,
41
- });
42
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
43
- this.resourceId = opts.resourceId;
44
- this.resourceType = opts.resourceType;
45
- this.serviceCode = opts.serviceCode;
46
- this.quotaCode = opts.quotaCode;
47
- }
48
- }
49
- export class ValidationException extends __BaseException {
50
- name = "ValidationException";
51
- $fault = "client";
52
- constructor(opts) {
53
- super({
54
- name: "ValidationException",
55
- $fault: "client",
56
- ...opts,
57
- });
58
- Object.setPrototypeOf(this, ValidationException.prototype);
59
- }
60
- }
61
- export class ResourceNotFoundException extends __BaseException {
62
- name = "ResourceNotFoundException";
63
- $fault = "client";
64
- constructor(opts) {
65
- super({
66
- name: "ResourceNotFoundException",
67
- $fault: "client",
68
- ...opts,
69
- });
70
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
71
- }
72
- }
73
4
  export const StandbyReplicas = {
74
5
  DISABLED: "DISABLED",
75
6
  ENABLED: "ENABLED",
@@ -97,18 +28,6 @@ export const VpcEndpointStatus = {
97
28
  FAILED: "FAILED",
98
29
  PENDING: "PENDING",
99
30
  };
100
- export class OcuLimitExceededException extends __BaseException {
101
- name = "OcuLimitExceededException";
102
- $fault = "client";
103
- constructor(opts) {
104
- super({
105
- name: "OcuLimitExceededException",
106
- $fault: "client",
107
- ...opts,
108
- });
109
- Object.setPrototypeOf(this, OcuLimitExceededException.prototype);
110
- }
111
- }
112
31
  export const IamIdentityCenterGroupAttribute = {
113
32
  GroupId: "GroupId",
114
33
  GroupName: "GroupName",
@@ -290,7 +290,7 @@ const _vES = "vpcEndpointSummaries";
290
290
  const _vI = "vpcId";
291
291
  const n0 = "com.amazonaws.opensearchserverless";
292
292
  import { TypeRegistry } from "@smithy/core/schema";
293
- import { ConflictException as __ConflictException, InternalServerException as __InternalServerException, OcuLimitExceededException as __OcuLimitExceededException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ValidationException as __ValidationException, } from "../models/index";
293
+ import { ConflictException as __ConflictException, InternalServerException as __InternalServerException, OcuLimitExceededException as __OcuLimitExceededException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ValidationException as __ValidationException, } from "../models/errors";
294
294
  import { OpenSearchServerlessServiceException as __OpenSearchServerlessServiceException } from "../models/OpenSearchServerlessServiceException";
295
295
  export var AccessPolicyDetail = [
296
296
  3,
@@ -10,5 +10,6 @@ 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";
13
+ export * from "./models/errors";
14
+ export type * from "./models/models_0";
14
15
  export { OpenSearchServerlessServiceException } from "./models/OpenSearchServerlessServiceException";
@@ -0,0 +1,94 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { OpenSearchServerlessServiceException as __BaseException } from "./OpenSearchServerlessServiceException";
3
+ /**
4
+ * <p>When creating a resource, thrown when a resource with the same name already exists or is being created. When deleting a resource, thrown when the resource is not in the ACTIVE or FAILED state.</p>
5
+ * @public
6
+ */
7
+ export declare class ConflictException extends __BaseException {
8
+ readonly name: "ConflictException";
9
+ readonly $fault: "client";
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
14
+ }
15
+ /**
16
+ * <p>Thrown when an error internal to the service occurs while processing a request.</p>
17
+ * @public
18
+ */
19
+ export declare class InternalServerException extends __BaseException {
20
+ readonly name: "InternalServerException";
21
+ readonly $fault: "server";
22
+ /**
23
+ * @internal
24
+ */
25
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
26
+ }
27
+ /**
28
+ * <p>Thrown when you attempt to create more resources than the service allows based on service quotas.</p>
29
+ * @public
30
+ */
31
+ export declare class ServiceQuotaExceededException extends __BaseException {
32
+ readonly name: "ServiceQuotaExceededException";
33
+ readonly $fault: "client";
34
+ /**
35
+ * Identifier of the resource affected.
36
+ * @public
37
+ */
38
+ resourceId?: string | undefined;
39
+ /**
40
+ * Type of the resource affected.
41
+ * @public
42
+ */
43
+ resourceType?: string | undefined;
44
+ /**
45
+ * Service Quotas requirement to identify originating service.
46
+ * @public
47
+ */
48
+ serviceCode: string | undefined;
49
+ /**
50
+ * Service Quotas requirement to identify originating quota.
51
+ * @public
52
+ */
53
+ quotaCode?: string | undefined;
54
+ /**
55
+ * @internal
56
+ */
57
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
58
+ }
59
+ /**
60
+ * <p>Thrown when the HTTP request contains invalid input or is missing required input.</p>
61
+ * @public
62
+ */
63
+ export declare class ValidationException extends __BaseException {
64
+ readonly name: "ValidationException";
65
+ readonly $fault: "client";
66
+ /**
67
+ * @internal
68
+ */
69
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
70
+ }
71
+ /**
72
+ * <p>Thrown when accessing or deleting a resource that does not exist.</p>
73
+ * @public
74
+ */
75
+ export declare class ResourceNotFoundException extends __BaseException {
76
+ readonly name: "ResourceNotFoundException";
77
+ readonly $fault: "client";
78
+ /**
79
+ * @internal
80
+ */
81
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
82
+ }
83
+ /**
84
+ * <p>Thrown when the collection you're attempting to create results in a number of search or indexing OCUs that exceeds the account limit. </p>
85
+ * @public
86
+ */
87
+ export declare class OcuLimitExceededException extends __BaseException {
88
+ readonly name: "OcuLimitExceededException";
89
+ readonly $fault: "client";
90
+ /**
91
+ * @internal
92
+ */
93
+ constructor(opts: __ExceptionOptionType<OcuLimitExceededException, __BaseException>);
94
+ }
@@ -1,6 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
1
  import { DocumentType as __DocumentType } from "@smithy/types";
3
- import { OpenSearchServerlessServiceException as __BaseException } from "./OpenSearchServerlessServiceException";
4
2
  /**
5
3
  * @public
6
4
  * @enum
@@ -15,18 +13,6 @@ export declare const AccessPolicyType: {
15
13
  * @public
16
14
  */
17
15
  export type AccessPolicyType = (typeof AccessPolicyType)[keyof typeof AccessPolicyType];
18
- /**
19
- * <p>When creating a resource, thrown when a resource with the same name already exists or is being created. When deleting a resource, thrown when the resource is not in the ACTIVE or FAILED state.</p>
20
- * @public
21
- */
22
- export declare class ConflictException extends __BaseException {
23
- readonly name: "ConflictException";
24
- readonly $fault: "client";
25
- /**
26
- * @internal
27
- */
28
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
29
- }
30
16
  /**
31
17
  * @public
32
18
  */
@@ -108,62 +94,6 @@ export interface CreateAccessPolicyResponse {
108
94
  */
109
95
  accessPolicyDetail?: AccessPolicyDetail | undefined;
110
96
  }
111
- /**
112
- * <p>Thrown when an error internal to the service occurs while processing a request.</p>
113
- * @public
114
- */
115
- export declare class InternalServerException extends __BaseException {
116
- readonly name: "InternalServerException";
117
- readonly $fault: "server";
118
- /**
119
- * @internal
120
- */
121
- constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
122
- }
123
- /**
124
- * <p>Thrown when you attempt to create more resources than the service allows based on service quotas.</p>
125
- * @public
126
- */
127
- export declare class ServiceQuotaExceededException extends __BaseException {
128
- readonly name: "ServiceQuotaExceededException";
129
- readonly $fault: "client";
130
- /**
131
- * Identifier of the resource affected.
132
- * @public
133
- */
134
- resourceId?: string | undefined;
135
- /**
136
- * Type of the resource affected.
137
- * @public
138
- */
139
- resourceType?: string | undefined;
140
- /**
141
- * Service Quotas requirement to identify originating service.
142
- * @public
143
- */
144
- serviceCode: string | undefined;
145
- /**
146
- * Service Quotas requirement to identify originating quota.
147
- * @public
148
- */
149
- quotaCode?: string | undefined;
150
- /**
151
- * @internal
152
- */
153
- constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
154
- }
155
- /**
156
- * <p>Thrown when the HTTP request contains invalid input or is missing required input.</p>
157
- * @public
158
- */
159
- export declare class ValidationException extends __BaseException {
160
- readonly name: "ValidationException";
161
- readonly $fault: "client";
162
- /**
163
- * @internal
164
- */
165
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
166
- }
167
97
  /**
168
98
  * @public
169
99
  */
@@ -189,18 +119,6 @@ export interface DeleteAccessPolicyRequest {
189
119
  */
190
120
  export interface DeleteAccessPolicyResponse {
191
121
  }
192
- /**
193
- * <p>Thrown when accessing or deleting a resource that does not exist.</p>
194
- * @public
195
- */
196
- export declare class ResourceNotFoundException extends __BaseException {
197
- readonly name: "ResourceNotFoundException";
198
- readonly $fault: "client";
199
- /**
200
- * @internal
201
- */
202
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
203
- }
204
122
  /**
205
123
  * @public
206
124
  */
@@ -1083,18 +1001,6 @@ export interface CreateCollectionResponse {
1083
1001
  */
1084
1002
  createCollectionDetail?: CreateCollectionDetail | undefined;
1085
1003
  }
1086
- /**
1087
- * <p>Thrown when the collection you're attempting to create results in a number of search or indexing OCUs that exceeds the account limit. </p>
1088
- * @public
1089
- */
1090
- export declare class OcuLimitExceededException extends __BaseException {
1091
- readonly name: "OcuLimitExceededException";
1092
- readonly $fault: "client";
1093
- /**
1094
- * @internal
1095
- */
1096
- constructor(opts: __ExceptionOptionType<OcuLimitExceededException, __BaseException>);
1097
- }
1098
1004
  /**
1099
1005
  * @public
1100
1006
  */
@@ -5,5 +5,6 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { OpenSearchServerlessExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
- export * from "./models";
8
+ export * from "./models/errors";
9
+ export * from "./models/models_0";
9
10
  export { OpenSearchServerlessServiceException } from "./models/OpenSearchServerlessServiceException";
@@ -0,0 +1,46 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { OpenSearchServerlessServiceException as __BaseException } from "./OpenSearchServerlessServiceException";
3
+ export declare class ConflictException extends __BaseException {
4
+ readonly name: "ConflictException";
5
+ readonly $fault: "client";
6
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
7
+ }
8
+ export declare class InternalServerException extends __BaseException {
9
+ readonly name: "InternalServerException";
10
+ readonly $fault: "server";
11
+ constructor(
12
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
13
+ );
14
+ }
15
+ export declare class ServiceQuotaExceededException extends __BaseException {
16
+ readonly name: "ServiceQuotaExceededException";
17
+ readonly $fault: "client";
18
+ resourceId?: string | undefined;
19
+ resourceType?: string | undefined;
20
+ serviceCode: string | undefined;
21
+ quotaCode?: string | undefined;
22
+ constructor(
23
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
24
+ );
25
+ }
26
+ export declare class ValidationException extends __BaseException {
27
+ readonly name: "ValidationException";
28
+ readonly $fault: "client";
29
+ constructor(
30
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
31
+ );
32
+ }
33
+ export declare class ResourceNotFoundException extends __BaseException {
34
+ readonly name: "ResourceNotFoundException";
35
+ readonly $fault: "client";
36
+ constructor(
37
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
38
+ );
39
+ }
40
+ export declare class OcuLimitExceededException extends __BaseException {
41
+ readonly name: "OcuLimitExceededException";
42
+ readonly $fault: "client";
43
+ constructor(
44
+ opts: __ExceptionOptionType<OcuLimitExceededException, __BaseException>
45
+ );
46
+ }
@@ -1,16 +1,9 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
1
  import { DocumentType as __DocumentType } from "@smithy/types";
3
- import { OpenSearchServerlessServiceException as __BaseException } from "./OpenSearchServerlessServiceException";
4
2
  export declare const AccessPolicyType: {
5
3
  readonly data: "data";
6
4
  };
7
5
  export type AccessPolicyType =
8
6
  (typeof AccessPolicyType)[keyof typeof AccessPolicyType];
9
- export declare class ConflictException extends __BaseException {
10
- readonly name: "ConflictException";
11
- readonly $fault: "client";
12
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
13
- }
14
7
  export interface CreateAccessPolicyRequest {
15
8
  type: AccessPolicyType | undefined;
16
9
  name: string | undefined;
@@ -30,44 +23,12 @@ export interface AccessPolicyDetail {
30
23
  export interface CreateAccessPolicyResponse {
31
24
  accessPolicyDetail?: AccessPolicyDetail | undefined;
32
25
  }
33
- export declare class InternalServerException extends __BaseException {
34
- readonly name: "InternalServerException";
35
- readonly $fault: "server";
36
- constructor(
37
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
38
- );
39
- }
40
- export declare class ServiceQuotaExceededException extends __BaseException {
41
- readonly name: "ServiceQuotaExceededException";
42
- readonly $fault: "client";
43
- resourceId?: string | undefined;
44
- resourceType?: string | undefined;
45
- serviceCode: string | undefined;
46
- quotaCode?: string | undefined;
47
- constructor(
48
- opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
49
- );
50
- }
51
- export declare class ValidationException extends __BaseException {
52
- readonly name: "ValidationException";
53
- readonly $fault: "client";
54
- constructor(
55
- opts: __ExceptionOptionType<ValidationException, __BaseException>
56
- );
57
- }
58
26
  export interface DeleteAccessPolicyRequest {
59
27
  type: AccessPolicyType | undefined;
60
28
  name: string | undefined;
61
29
  clientToken?: string | undefined;
62
30
  }
63
31
  export interface DeleteAccessPolicyResponse {}
64
- export declare class ResourceNotFoundException extends __BaseException {
65
- readonly name: "ResourceNotFoundException";
66
- readonly $fault: "client";
67
- constructor(
68
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
69
- );
70
- }
71
32
  export interface GetAccessPolicyRequest {
72
33
  type: AccessPolicyType | undefined;
73
34
  name: string | undefined;
@@ -292,13 +253,6 @@ export interface CreateCollectionDetail {
292
253
  export interface CreateCollectionResponse {
293
254
  createCollectionDetail?: CreateCollectionDetail | undefined;
294
255
  }
295
- export declare class OcuLimitExceededException extends __BaseException {
296
- readonly name: "OcuLimitExceededException";
297
- readonly $fault: "client";
298
- constructor(
299
- opts: __ExceptionOptionType<OcuLimitExceededException, __BaseException>
300
- );
301
- }
302
256
  export interface DeleteCollectionRequest {
303
257
  id: string | undefined;
304
258
  clientToken?: 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.933.0",
4
+ "version": "3.935.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,38 +20,38 @@
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.932.0",
24
- "@aws-sdk/credential-provider-node": "3.933.0",
23
+ "@aws-sdk/core": "3.935.0",
24
+ "@aws-sdk/credential-provider-node": "3.935.0",
25
25
  "@aws-sdk/middleware-host-header": "3.930.0",
26
26
  "@aws-sdk/middleware-logger": "3.930.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.932.0",
28
+ "@aws-sdk/middleware-user-agent": "3.935.0",
29
29
  "@aws-sdk/region-config-resolver": "3.930.0",
30
30
  "@aws-sdk/types": "3.930.0",
31
31
  "@aws-sdk/util-endpoints": "3.930.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.932.0",
33
+ "@aws-sdk/util-user-agent-node": "3.935.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";