@aws-sdk/client-odb 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
@@ -174,12 +174,6 @@ let ThrottlingException$1 = class ThrottlingException extends OdbServiceExceptio
174
174
  this.retryAfterSeconds = opts.retryAfterSeconds;
175
175
  }
176
176
  };
177
- const ValidationExceptionReason = {
178
- CANNOT_PARSE: "cannotParse",
179
- FIELD_VALIDATION_FAILED: "fieldValidationFailed",
180
- OTHER: "other",
181
- UNKNOWN_OPERATION: "unknownOperation",
182
- };
183
177
  let ValidationException$1 = class ValidationException extends OdbServiceException$1 {
184
178
  name = "ValidationException";
185
179
  $fault = "client";
@@ -196,58 +190,6 @@ let ValidationException$1 = class ValidationException extends OdbServiceExceptio
196
190
  this.fieldList = opts.fieldList;
197
191
  }
198
192
  };
199
- const Access = {
200
- DISABLED: "DISABLED",
201
- ENABLED: "ENABLED",
202
- };
203
- const ResourceStatus = {
204
- AVAILABLE: "AVAILABLE",
205
- FAILED: "FAILED",
206
- MAINTENANCE_IN_PROGRESS: "MAINTENANCE_IN_PROGRESS",
207
- PROVISIONING: "PROVISIONING",
208
- TERMINATED: "TERMINATED",
209
- TERMINATING: "TERMINATING",
210
- UPDATING: "UPDATING",
211
- };
212
- const ComputeModel = {
213
- ECPU: "ECPU",
214
- OCPU: "OCPU",
215
- };
216
- const LicenseModel = {
217
- BRING_YOUR_OWN_LICENSE: "BRING_YOUR_OWN_LICENSE",
218
- LICENSE_INCLUDED: "LICENSE_INCLUDED",
219
- };
220
- const DayOfWeekName = {
221
- FRIDAY: "FRIDAY",
222
- MONDAY: "MONDAY",
223
- SATURDAY: "SATURDAY",
224
- SUNDAY: "SUNDAY",
225
- THURSDAY: "THURSDAY",
226
- TUESDAY: "TUESDAY",
227
- WEDNESDAY: "WEDNESDAY",
228
- };
229
- const MonthName = {
230
- APRIL: "APRIL",
231
- AUGUST: "AUGUST",
232
- DECEMBER: "DECEMBER",
233
- FEBRUARY: "FEBRUARY",
234
- JANUARY: "JANUARY",
235
- JULY: "JULY",
236
- JUNE: "JUNE",
237
- MARCH: "MARCH",
238
- MAY: "MAY",
239
- NOVEMBER: "NOVEMBER",
240
- OCTOBER: "OCTOBER",
241
- SEPTEMBER: "SEPTEMBER",
242
- };
243
- const PatchingModeType = {
244
- NONROLLING: "NONROLLING",
245
- ROLLING: "ROLLING",
246
- };
247
- const PreferenceType = {
248
- CUSTOM_PREFERENCE: "CUSTOM_PREFERENCE",
249
- NO_PREFERENCE: "NO_PREFERENCE",
250
- };
251
193
  let ResourceNotFoundException$1 = class ResourceNotFoundException extends OdbServiceException$1 {
252
194
  name = "ResourceNotFoundException";
253
195
  $fault = "client";
@@ -282,73 +224,6 @@ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extend
282
224
  this.quotaCode = opts.quotaCode;
283
225
  }
284
226
  };
285
- const DbServerPatchingStatus = {
286
- COMPLETE: "COMPLETE",
287
- FAILED: "FAILED",
288
- MAINTENANCE_IN_PROGRESS: "MAINTENANCE_IN_PROGRESS",
289
- SCHEDULED: "SCHEDULED",
290
- };
291
- const DiskRedundancy = {
292
- HIGH: "HIGH",
293
- NORMAL: "NORMAL",
294
- };
295
- const IormLifecycleState = {
296
- BOOTSTRAPPING: "BOOTSTRAPPING",
297
- DISABLED: "DISABLED",
298
- ENABLED: "ENABLED",
299
- FAILED: "FAILED",
300
- UPDATING: "UPDATING",
301
- };
302
- const Objective = {
303
- AUTO: "AUTO",
304
- BALANCED: "BALANCED",
305
- BASIC: "BASIC",
306
- HIGH_THROUGHPUT: "HIGH_THROUGHPUT",
307
- LOW_LATENCY: "LOW_LATENCY",
308
- };
309
- const DbNodeMaintenanceType = {
310
- VMDB_REBOOT_MIGRATION: "VMDB_REBOOT_MIGRATION",
311
- };
312
- const DbNodeResourceStatus = {
313
- AVAILABLE: "AVAILABLE",
314
- FAILED: "FAILED",
315
- PROVISIONING: "PROVISIONING",
316
- STARTING: "STARTING",
317
- STOPPED: "STOPPED",
318
- STOPPING: "STOPPING",
319
- TERMINATED: "TERMINATED",
320
- TERMINATING: "TERMINATING",
321
- UPDATING: "UPDATING",
322
- };
323
- const ShapeType = {
324
- AMD: "AMD",
325
- AMPERE_FLEX_A1: "AMPERE_FLEX_A1",
326
- INTEL: "INTEL",
327
- INTEL_FLEX_X9: "INTEL_FLEX_X9",
328
- };
329
- const OciOnboardingStatus = {
330
- ACTIVATING: "ACTIVATING",
331
- ACTIVE: "ACTIVE",
332
- ACTIVE_IN_HOME_REGION: "ACTIVE_IN_HOME_REGION",
333
- ACTIVE_LIMITED: "ACTIVE_LIMITED",
334
- CANCELED: "CANCELED",
335
- FAILED: "FAILED",
336
- NOT_STARTED: "NOT_STARTED",
337
- PENDING_CUSTOMER_ACTION: "PENDING_CUSTOMER_ACTION",
338
- PENDING_INITIALIZATION: "PENDING_INITIALIZATION",
339
- PENDING_LINK_GENERATION: "PENDING_LINK_GENERATION",
340
- PUBLIC_OFFER_UNSUPPORTED: "PUBLIC_OFFER_UNSUPPORTED",
341
- SUSPENDED: "SUSPENDED",
342
- };
343
- const ManagedResourceStatus = {
344
- DISABLED: "DISABLED",
345
- DISABLING: "DISABLING",
346
- ENABLED: "ENABLED",
347
- ENABLING: "ENABLING",
348
- };
349
- const VpcEndpointType = {
350
- SERVICENETWORK: "SERVICENETWORK",
351
- };
352
227
 
353
228
  const _ADE = "AccessDeniedException";
354
229
  const _AMR = "AcceptMarketplaceRegistration";
@@ -3224,6 +3099,132 @@ const paginateListOdbPeeringConnections = core.createPaginator(OdbClient, ListOd
3224
3099
 
3225
3100
  const paginateListSystemVersions = core.createPaginator(OdbClient, ListSystemVersionsCommand, "nextToken", "nextToken", "maxResults");
3226
3101
 
3102
+ const ValidationExceptionReason = {
3103
+ CANNOT_PARSE: "cannotParse",
3104
+ FIELD_VALIDATION_FAILED: "fieldValidationFailed",
3105
+ OTHER: "other",
3106
+ UNKNOWN_OPERATION: "unknownOperation",
3107
+ };
3108
+ const Access = {
3109
+ DISABLED: "DISABLED",
3110
+ ENABLED: "ENABLED",
3111
+ };
3112
+ const ResourceStatus = {
3113
+ AVAILABLE: "AVAILABLE",
3114
+ FAILED: "FAILED",
3115
+ MAINTENANCE_IN_PROGRESS: "MAINTENANCE_IN_PROGRESS",
3116
+ PROVISIONING: "PROVISIONING",
3117
+ TERMINATED: "TERMINATED",
3118
+ TERMINATING: "TERMINATING",
3119
+ UPDATING: "UPDATING",
3120
+ };
3121
+ const ComputeModel = {
3122
+ ECPU: "ECPU",
3123
+ OCPU: "OCPU",
3124
+ };
3125
+ const LicenseModel = {
3126
+ BRING_YOUR_OWN_LICENSE: "BRING_YOUR_OWN_LICENSE",
3127
+ LICENSE_INCLUDED: "LICENSE_INCLUDED",
3128
+ };
3129
+ const DayOfWeekName = {
3130
+ FRIDAY: "FRIDAY",
3131
+ MONDAY: "MONDAY",
3132
+ SATURDAY: "SATURDAY",
3133
+ SUNDAY: "SUNDAY",
3134
+ THURSDAY: "THURSDAY",
3135
+ TUESDAY: "TUESDAY",
3136
+ WEDNESDAY: "WEDNESDAY",
3137
+ };
3138
+ const MonthName = {
3139
+ APRIL: "APRIL",
3140
+ AUGUST: "AUGUST",
3141
+ DECEMBER: "DECEMBER",
3142
+ FEBRUARY: "FEBRUARY",
3143
+ JANUARY: "JANUARY",
3144
+ JULY: "JULY",
3145
+ JUNE: "JUNE",
3146
+ MARCH: "MARCH",
3147
+ MAY: "MAY",
3148
+ NOVEMBER: "NOVEMBER",
3149
+ OCTOBER: "OCTOBER",
3150
+ SEPTEMBER: "SEPTEMBER",
3151
+ };
3152
+ const PatchingModeType = {
3153
+ NONROLLING: "NONROLLING",
3154
+ ROLLING: "ROLLING",
3155
+ };
3156
+ const PreferenceType = {
3157
+ CUSTOM_PREFERENCE: "CUSTOM_PREFERENCE",
3158
+ NO_PREFERENCE: "NO_PREFERENCE",
3159
+ };
3160
+ const DbServerPatchingStatus = {
3161
+ COMPLETE: "COMPLETE",
3162
+ FAILED: "FAILED",
3163
+ MAINTENANCE_IN_PROGRESS: "MAINTENANCE_IN_PROGRESS",
3164
+ SCHEDULED: "SCHEDULED",
3165
+ };
3166
+ const DiskRedundancy = {
3167
+ HIGH: "HIGH",
3168
+ NORMAL: "NORMAL",
3169
+ };
3170
+ const IormLifecycleState = {
3171
+ BOOTSTRAPPING: "BOOTSTRAPPING",
3172
+ DISABLED: "DISABLED",
3173
+ ENABLED: "ENABLED",
3174
+ FAILED: "FAILED",
3175
+ UPDATING: "UPDATING",
3176
+ };
3177
+ const Objective = {
3178
+ AUTO: "AUTO",
3179
+ BALANCED: "BALANCED",
3180
+ BASIC: "BASIC",
3181
+ HIGH_THROUGHPUT: "HIGH_THROUGHPUT",
3182
+ LOW_LATENCY: "LOW_LATENCY",
3183
+ };
3184
+ const DbNodeMaintenanceType = {
3185
+ VMDB_REBOOT_MIGRATION: "VMDB_REBOOT_MIGRATION",
3186
+ };
3187
+ const DbNodeResourceStatus = {
3188
+ AVAILABLE: "AVAILABLE",
3189
+ FAILED: "FAILED",
3190
+ PROVISIONING: "PROVISIONING",
3191
+ STARTING: "STARTING",
3192
+ STOPPED: "STOPPED",
3193
+ STOPPING: "STOPPING",
3194
+ TERMINATED: "TERMINATED",
3195
+ TERMINATING: "TERMINATING",
3196
+ UPDATING: "UPDATING",
3197
+ };
3198
+ const ShapeType = {
3199
+ AMD: "AMD",
3200
+ AMPERE_FLEX_A1: "AMPERE_FLEX_A1",
3201
+ INTEL: "INTEL",
3202
+ INTEL_FLEX_X9: "INTEL_FLEX_X9",
3203
+ };
3204
+ const OciOnboardingStatus = {
3205
+ ACTIVATING: "ACTIVATING",
3206
+ ACTIVE: "ACTIVE",
3207
+ ACTIVE_IN_HOME_REGION: "ACTIVE_IN_HOME_REGION",
3208
+ ACTIVE_LIMITED: "ACTIVE_LIMITED",
3209
+ CANCELED: "CANCELED",
3210
+ FAILED: "FAILED",
3211
+ NOT_STARTED: "NOT_STARTED",
3212
+ PENDING_CUSTOMER_ACTION: "PENDING_CUSTOMER_ACTION",
3213
+ PENDING_INITIALIZATION: "PENDING_INITIALIZATION",
3214
+ PENDING_LINK_GENERATION: "PENDING_LINK_GENERATION",
3215
+ PUBLIC_OFFER_UNSUPPORTED: "PUBLIC_OFFER_UNSUPPORTED",
3216
+ SUSPENDED: "SUSPENDED",
3217
+ };
3218
+ const ManagedResourceStatus = {
3219
+ DISABLED: "DISABLED",
3220
+ DISABLING: "DISABLING",
3221
+ ENABLED: "ENABLED",
3222
+ ENABLING: "ENABLING",
3223
+ };
3224
+ const VpcEndpointType = {
3225
+ SERVICENETWORK: "SERVICENETWORK",
3226
+ };
3227
+
3227
3228
  Object.defineProperty(exports, "$Command", {
3228
3229
  enumerable: true,
3229
3230
  get: function () { return smithyClient.Command; }
package/dist-es/index.js CHANGED
@@ -2,5 +2,6 @@ export * from "./OdbClient";
2
2
  export * from "./Odb";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
- export * from "./models";
5
+ export * from "./models/enums";
6
+ export * from "./models/errors";
6
7
  export { OdbServiceException } from "./models/OdbServiceException";
@@ -0,0 +1,125 @@
1
+ export const ValidationExceptionReason = {
2
+ CANNOT_PARSE: "cannotParse",
3
+ FIELD_VALIDATION_FAILED: "fieldValidationFailed",
4
+ OTHER: "other",
5
+ UNKNOWN_OPERATION: "unknownOperation",
6
+ };
7
+ export const Access = {
8
+ DISABLED: "DISABLED",
9
+ ENABLED: "ENABLED",
10
+ };
11
+ export const ResourceStatus = {
12
+ AVAILABLE: "AVAILABLE",
13
+ FAILED: "FAILED",
14
+ MAINTENANCE_IN_PROGRESS: "MAINTENANCE_IN_PROGRESS",
15
+ PROVISIONING: "PROVISIONING",
16
+ TERMINATED: "TERMINATED",
17
+ TERMINATING: "TERMINATING",
18
+ UPDATING: "UPDATING",
19
+ };
20
+ export const ComputeModel = {
21
+ ECPU: "ECPU",
22
+ OCPU: "OCPU",
23
+ };
24
+ export const LicenseModel = {
25
+ BRING_YOUR_OWN_LICENSE: "BRING_YOUR_OWN_LICENSE",
26
+ LICENSE_INCLUDED: "LICENSE_INCLUDED",
27
+ };
28
+ export const DayOfWeekName = {
29
+ FRIDAY: "FRIDAY",
30
+ MONDAY: "MONDAY",
31
+ SATURDAY: "SATURDAY",
32
+ SUNDAY: "SUNDAY",
33
+ THURSDAY: "THURSDAY",
34
+ TUESDAY: "TUESDAY",
35
+ WEDNESDAY: "WEDNESDAY",
36
+ };
37
+ export const MonthName = {
38
+ APRIL: "APRIL",
39
+ AUGUST: "AUGUST",
40
+ DECEMBER: "DECEMBER",
41
+ FEBRUARY: "FEBRUARY",
42
+ JANUARY: "JANUARY",
43
+ JULY: "JULY",
44
+ JUNE: "JUNE",
45
+ MARCH: "MARCH",
46
+ MAY: "MAY",
47
+ NOVEMBER: "NOVEMBER",
48
+ OCTOBER: "OCTOBER",
49
+ SEPTEMBER: "SEPTEMBER",
50
+ };
51
+ export const PatchingModeType = {
52
+ NONROLLING: "NONROLLING",
53
+ ROLLING: "ROLLING",
54
+ };
55
+ export const PreferenceType = {
56
+ CUSTOM_PREFERENCE: "CUSTOM_PREFERENCE",
57
+ NO_PREFERENCE: "NO_PREFERENCE",
58
+ };
59
+ export const DbServerPatchingStatus = {
60
+ COMPLETE: "COMPLETE",
61
+ FAILED: "FAILED",
62
+ MAINTENANCE_IN_PROGRESS: "MAINTENANCE_IN_PROGRESS",
63
+ SCHEDULED: "SCHEDULED",
64
+ };
65
+ export const DiskRedundancy = {
66
+ HIGH: "HIGH",
67
+ NORMAL: "NORMAL",
68
+ };
69
+ export const IormLifecycleState = {
70
+ BOOTSTRAPPING: "BOOTSTRAPPING",
71
+ DISABLED: "DISABLED",
72
+ ENABLED: "ENABLED",
73
+ FAILED: "FAILED",
74
+ UPDATING: "UPDATING",
75
+ };
76
+ export const Objective = {
77
+ AUTO: "AUTO",
78
+ BALANCED: "BALANCED",
79
+ BASIC: "BASIC",
80
+ HIGH_THROUGHPUT: "HIGH_THROUGHPUT",
81
+ LOW_LATENCY: "LOW_LATENCY",
82
+ };
83
+ export const DbNodeMaintenanceType = {
84
+ VMDB_REBOOT_MIGRATION: "VMDB_REBOOT_MIGRATION",
85
+ };
86
+ export const DbNodeResourceStatus = {
87
+ AVAILABLE: "AVAILABLE",
88
+ FAILED: "FAILED",
89
+ PROVISIONING: "PROVISIONING",
90
+ STARTING: "STARTING",
91
+ STOPPED: "STOPPED",
92
+ STOPPING: "STOPPING",
93
+ TERMINATED: "TERMINATED",
94
+ TERMINATING: "TERMINATING",
95
+ UPDATING: "UPDATING",
96
+ };
97
+ export const ShapeType = {
98
+ AMD: "AMD",
99
+ AMPERE_FLEX_A1: "AMPERE_FLEX_A1",
100
+ INTEL: "INTEL",
101
+ INTEL_FLEX_X9: "INTEL_FLEX_X9",
102
+ };
103
+ export const OciOnboardingStatus = {
104
+ ACTIVATING: "ACTIVATING",
105
+ ACTIVE: "ACTIVE",
106
+ ACTIVE_IN_HOME_REGION: "ACTIVE_IN_HOME_REGION",
107
+ ACTIVE_LIMITED: "ACTIVE_LIMITED",
108
+ CANCELED: "CANCELED",
109
+ FAILED: "FAILED",
110
+ NOT_STARTED: "NOT_STARTED",
111
+ PENDING_CUSTOMER_ACTION: "PENDING_CUSTOMER_ACTION",
112
+ PENDING_INITIALIZATION: "PENDING_INITIALIZATION",
113
+ PENDING_LINK_GENERATION: "PENDING_LINK_GENERATION",
114
+ PUBLIC_OFFER_UNSUPPORTED: "PUBLIC_OFFER_UNSUPPORTED",
115
+ SUSPENDED: "SUSPENDED",
116
+ };
117
+ export const ManagedResourceStatus = {
118
+ DISABLED: "DISABLED",
119
+ DISABLING: "DISABLING",
120
+ ENABLED: "ENABLED",
121
+ ENABLING: "ENABLING",
122
+ };
123
+ export const VpcEndpointType = {
124
+ SERVICENETWORK: "SERVICENETWORK",
125
+ };
@@ -0,0 +1,108 @@
1
+ import { OdbServiceException as __BaseException } from "./OdbServiceException";
2
+ export class AccessDeniedException extends __BaseException {
3
+ name = "AccessDeniedException";
4
+ $fault = "client";
5
+ constructor(opts) {
6
+ super({
7
+ name: "AccessDeniedException",
8
+ $fault: "client",
9
+ ...opts,
10
+ });
11
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
12
+ }
13
+ }
14
+ export class ConflictException extends __BaseException {
15
+ name = "ConflictException";
16
+ $fault = "client";
17
+ resourceId;
18
+ resourceType;
19
+ constructor(opts) {
20
+ super({
21
+ name: "ConflictException",
22
+ $fault: "client",
23
+ ...opts,
24
+ });
25
+ Object.setPrototypeOf(this, ConflictException.prototype);
26
+ this.resourceId = opts.resourceId;
27
+ this.resourceType = opts.resourceType;
28
+ }
29
+ }
30
+ export class InternalServerException extends __BaseException {
31
+ name = "InternalServerException";
32
+ $fault = "server";
33
+ $retryable = {};
34
+ retryAfterSeconds;
35
+ constructor(opts) {
36
+ super({
37
+ name: "InternalServerException",
38
+ $fault: "server",
39
+ ...opts,
40
+ });
41
+ Object.setPrototypeOf(this, InternalServerException.prototype);
42
+ this.retryAfterSeconds = opts.retryAfterSeconds;
43
+ }
44
+ }
45
+ export class ThrottlingException extends __BaseException {
46
+ name = "ThrottlingException";
47
+ $fault = "client";
48
+ retryAfterSeconds;
49
+ constructor(opts) {
50
+ super({
51
+ name: "ThrottlingException",
52
+ $fault: "client",
53
+ ...opts,
54
+ });
55
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
56
+ this.retryAfterSeconds = opts.retryAfterSeconds;
57
+ }
58
+ }
59
+ export class ValidationException extends __BaseException {
60
+ name = "ValidationException";
61
+ $fault = "client";
62
+ reason;
63
+ fieldList;
64
+ constructor(opts) {
65
+ super({
66
+ name: "ValidationException",
67
+ $fault: "client",
68
+ ...opts,
69
+ });
70
+ Object.setPrototypeOf(this, ValidationException.prototype);
71
+ this.reason = opts.reason;
72
+ this.fieldList = opts.fieldList;
73
+ }
74
+ }
75
+ export class ResourceNotFoundException extends __BaseException {
76
+ name = "ResourceNotFoundException";
77
+ $fault = "client";
78
+ resourceId;
79
+ resourceType;
80
+ constructor(opts) {
81
+ super({
82
+ name: "ResourceNotFoundException",
83
+ $fault: "client",
84
+ ...opts,
85
+ });
86
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
87
+ this.resourceId = opts.resourceId;
88
+ this.resourceType = opts.resourceType;
89
+ }
90
+ }
91
+ export class ServiceQuotaExceededException extends __BaseException {
92
+ name = "ServiceQuotaExceededException";
93
+ $fault = "client";
94
+ resourceId;
95
+ resourceType;
96
+ quotaCode;
97
+ constructor(opts) {
98
+ super({
99
+ name: "ServiceQuotaExceededException",
100
+ $fault: "client",
101
+ ...opts,
102
+ });
103
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
104
+ this.resourceId = opts.resourceId;
105
+ this.resourceType = opts.resourceType;
106
+ this.quotaCode = opts.quotaCode;
107
+ }
108
+ }