@aws-sdk/client-docdb 3.934.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
@@ -647,15 +647,6 @@ let SubscriptionCategoryNotFoundFault$1 = class SubscriptionCategoryNotFoundFaul
647
647
  Object.setPrototypeOf(this, SubscriptionCategoryNotFoundFault.prototype);
648
648
  }
649
649
  };
650
- const FailoverStatus = {
651
- CANCELLING: "cancelling",
652
- FAILING_OVER: "failing-over",
653
- PENDING: "pending",
654
- };
655
- const GlobalClusterMemberSynchronizationStatus = {
656
- CONNECTED: "connected",
657
- PENDING_RESYNC: "pending-resync",
658
- };
659
650
  let GlobalClusterAlreadyExistsFault$1 = class GlobalClusterAlreadyExistsFault extends DocDBServiceException$1 {
660
651
  name = "GlobalClusterAlreadyExistsFault";
661
652
  $fault = "client";
@@ -740,18 +731,6 @@ let CertificateNotFoundFault$1 = class CertificateNotFoundFault extends DocDBSer
740
731
  Object.setPrototypeOf(this, CertificateNotFoundFault.prototype);
741
732
  }
742
733
  };
743
- const ApplyMethod = {
744
- immediate: "immediate",
745
- pending_reboot: "pending-reboot",
746
- };
747
- const SourceType = {
748
- db_cluster: "db-cluster",
749
- db_cluster_snapshot: "db-cluster-snapshot",
750
- db_instance: "db-instance",
751
- db_parameter_group: "db-parameter-group",
752
- db_security_group: "db-security-group",
753
- db_snapshot: "db-snapshot",
754
- };
755
734
  let InvalidDBSecurityGroupStateFault$1 = class InvalidDBSecurityGroupStateFault extends DocDBServiceException$1 {
756
735
  name = "InvalidDBSecurityGroupStateFault";
757
736
  $fault = "client";
@@ -4880,6 +4859,28 @@ const waitUntilDBInstanceDeleted = async (params, input) => {
4880
4859
  return utilWaiter.checkExceptions(result);
4881
4860
  };
4882
4861
 
4862
+ const FailoverStatus = {
4863
+ CANCELLING: "cancelling",
4864
+ FAILING_OVER: "failing-over",
4865
+ PENDING: "pending",
4866
+ };
4867
+ const GlobalClusterMemberSynchronizationStatus = {
4868
+ CONNECTED: "connected",
4869
+ PENDING_RESYNC: "pending-resync",
4870
+ };
4871
+ const ApplyMethod = {
4872
+ immediate: "immediate",
4873
+ pending_reboot: "pending-reboot",
4874
+ };
4875
+ const SourceType = {
4876
+ db_cluster: "db-cluster",
4877
+ db_cluster_snapshot: "db-cluster-snapshot",
4878
+ db_instance: "db-instance",
4879
+ db_parameter_group: "db-parameter-group",
4880
+ db_security_group: "db-security-group",
4881
+ db_snapshot: "db-snapshot",
4882
+ };
4883
+
4883
4884
  Object.defineProperty(exports, "$Command", {
4884
4885
  enumerable: true,
4885
4886
  get: function () { return smithyClient.Command; }
package/dist-es/index.js CHANGED
@@ -3,5 +3,6 @@ export * from "./DocDB";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
5
  export * from "./waiters";
6
- export * from "./models";
6
+ export * from "./models/enums";
7
+ export * from "./models/errors";
7
8
  export { DocDBServiceException } from "./models/DocDBServiceException";
@@ -0,0 +1,21 @@
1
+ export const FailoverStatus = {
2
+ CANCELLING: "cancelling",
3
+ FAILING_OVER: "failing-over",
4
+ PENDING: "pending",
5
+ };
6
+ export const GlobalClusterMemberSynchronizationStatus = {
7
+ CONNECTED: "connected",
8
+ PENDING_RESYNC: "pending-resync",
9
+ };
10
+ export const ApplyMethod = {
11
+ immediate: "immediate",
12
+ pending_reboot: "pending-reboot",
13
+ };
14
+ export const SourceType = {
15
+ db_cluster: "db-cluster",
16
+ db_cluster_snapshot: "db-cluster-snapshot",
17
+ db_instance: "db-instance",
18
+ db_parameter_group: "db-parameter-group",
19
+ db_security_group: "db-security-group",
20
+ db_snapshot: "db-snapshot",
21
+ };