@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.
@@ -0,0 +1,63 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { ValidationExceptionReason } from "./enums";
3
+ import { ValidationExceptionField } from "./models_0";
4
+ import { OdbServiceException as __BaseException } from "./OdbServiceException";
5
+ export declare class AccessDeniedException extends __BaseException {
6
+ readonly name: "AccessDeniedException";
7
+ readonly $fault: "client";
8
+ constructor(
9
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
10
+ );
11
+ }
12
+ export declare class ConflictException extends __BaseException {
13
+ readonly name: "ConflictException";
14
+ readonly $fault: "client";
15
+ resourceId: string | undefined;
16
+ resourceType: string | undefined;
17
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
18
+ }
19
+ export declare class InternalServerException extends __BaseException {
20
+ readonly name: "InternalServerException";
21
+ readonly $fault: "server";
22
+ $retryable: {};
23
+ retryAfterSeconds?: number | undefined;
24
+ constructor(
25
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
26
+ );
27
+ }
28
+ export declare class ThrottlingException extends __BaseException {
29
+ readonly name: "ThrottlingException";
30
+ readonly $fault: "client";
31
+ retryAfterSeconds?: number | undefined;
32
+ constructor(
33
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
34
+ );
35
+ }
36
+ export declare class ValidationException extends __BaseException {
37
+ readonly name: "ValidationException";
38
+ readonly $fault: "client";
39
+ reason: ValidationExceptionReason | undefined;
40
+ fieldList?: ValidationExceptionField[] | undefined;
41
+ constructor(
42
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
43
+ );
44
+ }
45
+ export declare class ResourceNotFoundException extends __BaseException {
46
+ readonly name: "ResourceNotFoundException";
47
+ readonly $fault: "client";
48
+ resourceId: string | undefined;
49
+ resourceType: string | undefined;
50
+ constructor(
51
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
52
+ );
53
+ }
54
+ export declare class ServiceQuotaExceededException extends __BaseException {
55
+ readonly name: "ServiceQuotaExceededException";
56
+ readonly $fault: "client";
57
+ resourceId: string | undefined;
58
+ resourceType: string | undefined;
59
+ quotaCode: string | undefined;
60
+ constructor(
61
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
62
+ );
63
+ }
@@ -1,77 +1,31 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { OdbServiceException as __BaseException } from "./OdbServiceException";
1
+ import {
2
+ Access,
3
+ ComputeModel,
4
+ DayOfWeekName,
5
+ DbNodeMaintenanceType,
6
+ DbNodeResourceStatus,
7
+ DbServerPatchingStatus,
8
+ DiskRedundancy,
9
+ IormLifecycleState,
10
+ LicenseModel,
11
+ ManagedResourceStatus,
12
+ MonthName,
13
+ Objective,
14
+ OciOnboardingStatus,
15
+ PatchingModeType,
16
+ PreferenceType,
17
+ ResourceStatus,
18
+ ShapeType,
19
+ VpcEndpointType,
20
+ } from "./enums";
3
21
  export interface AcceptMarketplaceRegistrationInput {
4
22
  marketplaceRegistrationToken: string | undefined;
5
23
  }
6
24
  export interface AcceptMarketplaceRegistrationOutput {}
7
- export declare class AccessDeniedException extends __BaseException {
8
- readonly name: "AccessDeniedException";
9
- readonly $fault: "client";
10
- constructor(
11
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
12
- );
13
- }
14
- export declare class ConflictException extends __BaseException {
15
- readonly name: "ConflictException";
16
- readonly $fault: "client";
17
- resourceId: string | undefined;
18
- resourceType: string | undefined;
19
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
20
- }
21
- export declare class InternalServerException extends __BaseException {
22
- readonly name: "InternalServerException";
23
- readonly $fault: "server";
24
- $retryable: {};
25
- retryAfterSeconds?: number | undefined;
26
- constructor(
27
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
28
- );
29
- }
30
- export declare class ThrottlingException extends __BaseException {
31
- readonly name: "ThrottlingException";
32
- readonly $fault: "client";
33
- retryAfterSeconds?: number | undefined;
34
- constructor(
35
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
36
- );
37
- }
38
25
  export interface ValidationExceptionField {
39
26
  name: string | undefined;
40
27
  message: string | undefined;
41
28
  }
42
- export declare const ValidationExceptionReason: {
43
- readonly CANNOT_PARSE: "cannotParse";
44
- readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
45
- readonly OTHER: "other";
46
- readonly UNKNOWN_OPERATION: "unknownOperation";
47
- };
48
- export type ValidationExceptionReason =
49
- (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
50
- export declare class ValidationException extends __BaseException {
51
- readonly name: "ValidationException";
52
- readonly $fault: "client";
53
- reason: ValidationExceptionReason | undefined;
54
- fieldList?: ValidationExceptionField[] | undefined;
55
- constructor(
56
- opts: __ExceptionOptionType<ValidationException, __BaseException>
57
- );
58
- }
59
- export declare const Access: {
60
- readonly DISABLED: "DISABLED";
61
- readonly ENABLED: "ENABLED";
62
- };
63
- export type Access = (typeof Access)[keyof typeof Access];
64
- export declare const ResourceStatus: {
65
- readonly AVAILABLE: "AVAILABLE";
66
- readonly FAILED: "FAILED";
67
- readonly MAINTENANCE_IN_PROGRESS: "MAINTENANCE_IN_PROGRESS";
68
- readonly PROVISIONING: "PROVISIONING";
69
- readonly TERMINATED: "TERMINATED";
70
- readonly TERMINATING: "TERMINATING";
71
- readonly UPDATING: "UPDATING";
72
- };
73
- export type ResourceStatus =
74
- (typeof ResourceStatus)[keyof typeof ResourceStatus];
75
29
  export interface AutonomousVirtualMachineSummary {
76
30
  autonomousVirtualMachineId?: string | undefined;
77
31
  status?: ResourceStatus | undefined;
@@ -87,59 +41,12 @@ export interface AutonomousVirtualMachineSummary {
87
41
  ocid?: string | undefined;
88
42
  ociResourceAnchorName?: string | undefined;
89
43
  }
90
- export declare const ComputeModel: {
91
- readonly ECPU: "ECPU";
92
- readonly OCPU: "OCPU";
93
- };
94
- export type ComputeModel = (typeof ComputeModel)[keyof typeof ComputeModel];
95
- export declare const LicenseModel: {
96
- readonly BRING_YOUR_OWN_LICENSE: "BRING_YOUR_OWN_LICENSE";
97
- readonly LICENSE_INCLUDED: "LICENSE_INCLUDED";
98
- };
99
- export type LicenseModel = (typeof LicenseModel)[keyof typeof LicenseModel];
100
- export declare const DayOfWeekName: {
101
- readonly FRIDAY: "FRIDAY";
102
- readonly MONDAY: "MONDAY";
103
- readonly SATURDAY: "SATURDAY";
104
- readonly SUNDAY: "SUNDAY";
105
- readonly THURSDAY: "THURSDAY";
106
- readonly TUESDAY: "TUESDAY";
107
- readonly WEDNESDAY: "WEDNESDAY";
108
- };
109
- export type DayOfWeekName = (typeof DayOfWeekName)[keyof typeof DayOfWeekName];
110
44
  export interface DayOfWeek {
111
45
  name?: DayOfWeekName | undefined;
112
46
  }
113
- export declare const MonthName: {
114
- readonly APRIL: "APRIL";
115
- readonly AUGUST: "AUGUST";
116
- readonly DECEMBER: "DECEMBER";
117
- readonly FEBRUARY: "FEBRUARY";
118
- readonly JANUARY: "JANUARY";
119
- readonly JULY: "JULY";
120
- readonly JUNE: "JUNE";
121
- readonly MARCH: "MARCH";
122
- readonly MAY: "MAY";
123
- readonly NOVEMBER: "NOVEMBER";
124
- readonly OCTOBER: "OCTOBER";
125
- readonly SEPTEMBER: "SEPTEMBER";
126
- };
127
- export type MonthName = (typeof MonthName)[keyof typeof MonthName];
128
47
  export interface Month {
129
48
  name?: MonthName | undefined;
130
49
  }
131
- export declare const PatchingModeType: {
132
- readonly NONROLLING: "NONROLLING";
133
- readonly ROLLING: "ROLLING";
134
- };
135
- export type PatchingModeType =
136
- (typeof PatchingModeType)[keyof typeof PatchingModeType];
137
- export declare const PreferenceType: {
138
- readonly CUSTOM_PREFERENCE: "CUSTOM_PREFERENCE";
139
- readonly NO_PREFERENCE: "NO_PREFERENCE";
140
- };
141
- export type PreferenceType =
142
- (typeof PreferenceType)[keyof typeof PreferenceType];
143
50
  export interface MaintenanceWindow {
144
51
  customActionTimeoutInMins?: number | undefined;
145
52
  daysOfWeek?: DayOfWeek[] | undefined;
@@ -279,25 +186,6 @@ export interface CreateCloudAutonomousVmClusterOutput {
279
186
  statusReason?: string | undefined;
280
187
  cloudAutonomousVmClusterId: string | undefined;
281
188
  }
282
- export declare class ResourceNotFoundException extends __BaseException {
283
- readonly name: "ResourceNotFoundException";
284
- readonly $fault: "client";
285
- resourceId: string | undefined;
286
- resourceType: string | undefined;
287
- constructor(
288
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
289
- );
290
- }
291
- export declare class ServiceQuotaExceededException extends __BaseException {
292
- readonly name: "ServiceQuotaExceededException";
293
- readonly $fault: "client";
294
- resourceId: string | undefined;
295
- resourceType: string | undefined;
296
- quotaCode: string | undefined;
297
- constructor(
298
- opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
299
- );
300
- }
301
189
  export interface DeleteCloudAutonomousVmClusterInput {
302
190
  cloudAutonomousVmClusterId: string | undefined;
303
191
  }
@@ -467,14 +355,6 @@ export interface GetDbServerInput {
467
355
  cloudExadataInfrastructureId: string | undefined;
468
356
  dbServerId: string | undefined;
469
357
  }
470
- export declare const DbServerPatchingStatus: {
471
- readonly COMPLETE: "COMPLETE";
472
- readonly FAILED: "FAILED";
473
- readonly MAINTENANCE_IN_PROGRESS: "MAINTENANCE_IN_PROGRESS";
474
- readonly SCHEDULED: "SCHEDULED";
475
- };
476
- export type DbServerPatchingStatus =
477
- (typeof DbServerPatchingStatus)[keyof typeof DbServerPatchingStatus];
478
358
  export interface DbServerPatchingDetails {
479
359
  estimatedPatchDuration?: number | undefined;
480
360
  patchingStatus?: DbServerPatchingStatus | undefined;
@@ -560,34 +440,11 @@ export interface DataCollectionOptions {
560
440
  isHealthMonitoringEnabled?: boolean | undefined;
561
441
  isIncidentLogsEnabled?: boolean | undefined;
562
442
  }
563
- export declare const DiskRedundancy: {
564
- readonly HIGH: "HIGH";
565
- readonly NORMAL: "NORMAL";
566
- };
567
- export type DiskRedundancy =
568
- (typeof DiskRedundancy)[keyof typeof DiskRedundancy];
569
443
  export interface DbIormConfig {
570
444
  dbName?: string | undefined;
571
445
  flashCacheLimit?: string | undefined;
572
446
  share?: number | undefined;
573
447
  }
574
- export declare const IormLifecycleState: {
575
- readonly BOOTSTRAPPING: "BOOTSTRAPPING";
576
- readonly DISABLED: "DISABLED";
577
- readonly ENABLED: "ENABLED";
578
- readonly FAILED: "FAILED";
579
- readonly UPDATING: "UPDATING";
580
- };
581
- export type IormLifecycleState =
582
- (typeof IormLifecycleState)[keyof typeof IormLifecycleState];
583
- export declare const Objective: {
584
- readonly AUTO: "AUTO";
585
- readonly BALANCED: "BALANCED";
586
- readonly BASIC: "BASIC";
587
- readonly HIGH_THROUGHPUT: "HIGH_THROUGHPUT";
588
- readonly LOW_LATENCY: "LOW_LATENCY";
589
- };
590
- export type Objective = (typeof Objective)[keyof typeof Objective];
591
448
  export interface ExadataIormConfig {
592
449
  dbPlans?: DbIormConfig[] | undefined;
593
450
  lifecycleDetails?: string | undefined;
@@ -760,24 +617,6 @@ export interface CreateOdbPeeringConnectionOutput {
760
617
  statusReason?: string | undefined;
761
618
  odbPeeringConnectionId: string | undefined;
762
619
  }
763
- export declare const DbNodeMaintenanceType: {
764
- readonly VMDB_REBOOT_MIGRATION: "VMDB_REBOOT_MIGRATION";
765
- };
766
- export type DbNodeMaintenanceType =
767
- (typeof DbNodeMaintenanceType)[keyof typeof DbNodeMaintenanceType];
768
- export declare const DbNodeResourceStatus: {
769
- readonly AVAILABLE: "AVAILABLE";
770
- readonly FAILED: "FAILED";
771
- readonly PROVISIONING: "PROVISIONING";
772
- readonly STARTING: "STARTING";
773
- readonly STOPPED: "STOPPED";
774
- readonly STOPPING: "STOPPING";
775
- readonly TERMINATED: "TERMINATED";
776
- readonly TERMINATING: "TERMINATING";
777
- readonly UPDATING: "UPDATING";
778
- };
779
- export type DbNodeResourceStatus =
780
- (typeof DbNodeResourceStatus)[keyof typeof DbNodeResourceStatus];
781
620
  export interface DbNode {
782
621
  dbNodeId?: string | undefined;
783
622
  dbNodeArn?: string | undefined;
@@ -879,13 +718,6 @@ export interface StopDbNodeOutput {
879
718
  status?: DbNodeResourceStatus | undefined;
880
719
  statusReason?: string | undefined;
881
720
  }
882
- export declare const ShapeType: {
883
- readonly AMD: "AMD";
884
- readonly AMPERE_FLEX_A1: "AMPERE_FLEX_A1";
885
- readonly INTEL: "INTEL";
886
- readonly INTEL_FLEX_X9: "INTEL_FLEX_X9";
887
- };
888
- export type ShapeType = (typeof ShapeType)[keyof typeof ShapeType];
889
721
  export interface DbSystemShapeSummary {
890
722
  availableCoreCount?: number | undefined;
891
723
  availableCoreCountPerNode?: number | undefined;
@@ -922,22 +754,6 @@ export interface DeleteOdbPeeringConnectionInput {
922
754
  }
923
755
  export interface DeleteOdbPeeringConnectionOutput {}
924
756
  export interface GetOciOnboardingStatusInput {}
925
- export declare const OciOnboardingStatus: {
926
- readonly ACTIVATING: "ACTIVATING";
927
- readonly ACTIVE: "ACTIVE";
928
- readonly ACTIVE_IN_HOME_REGION: "ACTIVE_IN_HOME_REGION";
929
- readonly ACTIVE_LIMITED: "ACTIVE_LIMITED";
930
- readonly CANCELED: "CANCELED";
931
- readonly FAILED: "FAILED";
932
- readonly NOT_STARTED: "NOT_STARTED";
933
- readonly PENDING_CUSTOMER_ACTION: "PENDING_CUSTOMER_ACTION";
934
- readonly PENDING_INITIALIZATION: "PENDING_INITIALIZATION";
935
- readonly PENDING_LINK_GENERATION: "PENDING_LINK_GENERATION";
936
- readonly PUBLIC_OFFER_UNSUPPORTED: "PUBLIC_OFFER_UNSUPPORTED";
937
- readonly SUSPENDED: "SUSPENDED";
938
- };
939
- export type OciOnboardingStatus =
940
- (typeof OciOnboardingStatus)[keyof typeof OciOnboardingStatus];
941
757
  export interface GetOciOnboardingStatusOutput {
942
758
  status?: OciOnboardingStatus | undefined;
943
759
  existingTenancyActivationLink?: string | undefined;
@@ -946,14 +762,6 @@ export interface GetOciOnboardingStatusOutput {
946
762
  export interface GetOdbNetworkInput {
947
763
  odbNetworkId: string | undefined;
948
764
  }
949
- export declare const ManagedResourceStatus: {
950
- readonly DISABLED: "DISABLED";
951
- readonly DISABLING: "DISABLING";
952
- readonly ENABLED: "ENABLED";
953
- readonly ENABLING: "ENABLING";
954
- };
955
- export type ManagedResourceStatus =
956
- (typeof ManagedResourceStatus)[keyof typeof ManagedResourceStatus];
957
765
  export interface ManagedS3BackupAccess {
958
766
  status?: ManagedResourceStatus | undefined;
959
767
  ipv4Addresses?: string[] | undefined;
@@ -964,11 +772,6 @@ export interface S3Access {
964
772
  domainName?: string | undefined;
965
773
  s3PolicyDocument?: string | undefined;
966
774
  }
967
- export declare const VpcEndpointType: {
968
- readonly SERVICENETWORK: "SERVICENETWORK";
969
- };
970
- export type VpcEndpointType =
971
- (typeof VpcEndpointType)[keyof typeof VpcEndpointType];
972
775
  export interface ServiceNetworkEndpoint {
973
776
  vpcEndpointId?: string | undefined;
974
777
  vpcEndpointType?: VpcEndpointType | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-odb",
3
3
  "description": "AWS SDK for JavaScript Odb 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-odb",
@@ -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";